Convert the body to a JSON string with {“thing” => “value”}.to_json, and add the correct content-type header.
On Friday, March 14, 2014 at 7:25 AM, Nathan Mische wrote:
> Hello,
>
> It looks like posting JSON with http_request broke in Chef 11.8. (See: https://tickets.opscode.com/browse/CHEF-4877) Does anyone know of a workaround?
>
> Thanks,
>
> -Nathan
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.