POST'ing JSON via HTTP

edited May 2014 in How To...

Hi,

I'd like to send some JSON to web service.

Obviously it's easy to create the JSON with JSONObject.

Unfortunately I can't work out howto post it to my web service.

Am I really going to have to use Apache libraries or the like to do this?

Cheers, Tristan

Answers

  • Java has built-in libraries to post data. Have you tried to search the site? There is an article in the wiki, and some old examples in the forums.

Sign In or Register to comment.