Michael Munsey

Greenhorn
+ Follow
since Feb 08, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael Munsey

Bumping an old thread...

There is a good example of how to do this at http://www.mkyong.com/webservices/jax-rs/restful-java-client-with-jersey-client/

String input = "{\"singer\":\"Metallica\",\"title\":\"Fade To Black\"}";
ClientResponse response = webResource.type("application/json").post(ClientResponse.class, input);
10 years ago
Bumping an old thread...
The answer to this question can be found at http://stackoverflow.com/a/6489566