Not a member yet?Register now and get started.

lock and key

Sign in to your account.

Account Login


21 Jan. 2013 Posted by joe666 in Programming

Making HTTP POST request of JSON using Apache's HttpClient

Another way of implementing a REST talk to a remote API using Java and JSON.

Instead of making a URL encoded request or using a chunk one of binary data here is an example of simply posting a straight JSON string to an HTTP API Server