Android Question HttpUtils2 Content Type

TheSketchees

Member
Licensed User
Longtime User
I have the content type application/x-www-form-urlencoded but do not know how to set it so i can do a Post on it using HttpUtils2.

Thanks Guys
Alex
 

TheSketchees

Member
Licensed User
Longtime User
"Host: " + api_host + "\r\n" +
"THINGSPEAKAPIKEY: " + api_key + "\r\n" +
"Content-Type: application/x-www-form-urlencoded\r\n" +
"Content-Length:" + data.length() + "\n\n" + data;

Im trying to do this pretty much
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…