I am currently using Inets with the following request:
http:request(put, {Url, [{"User-Agent", UA}, {"Content-type",
"application/json"}]}, Bodytext, []),
But the request fails.
Any suggestions?
ibrowse:start().
ibrowse:send_req(Url, Headers, put, Body).
OR
ibrowse:send_req(Url, Headers, put, Body, Options).