Web API using JSON/POST
I am trying to receive and send data using a website's API. It requires that I post to a URL which returns JSON results and send data using POST.
How can I do this? And are there any simple examples of doing it? I would like this part to be as easy as possible so I can spend my time doing the rest of it.
Do you know how to create an http POST in general? i.e. could you do it on paper? If you can do that much, then you could either make the requests/posts by hand using sockets, or you could download something like Apache's HTTPclient library and let it build requests for you.
Is this the Apache HTTP client library? org.apache.http.client
Do I need to download a .jar file and just import it into my class or what? I couldn't find a jar file to download on that site
HttpClient - HttpComponents HttpClient Overview
This is it. You need to download the distro which is a collection of jars, and then add them to your project. In netbeans or eclipse, just add them as external library jars. The documentation and examples come with it!