A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Json Post Example
Joined: Feb 01, 2007
Sep 07, 2010 22:49:12
I have the Requirement to Post Data with JSon to teh Given Host/URL, I am new to JSon. Could anybodey show me an example to send teh JSon request with POST Data
Joined: May 14, 2004
Sep 17, 2010 01:58:04
First of all you need to check out this
There you can find Java JSON APIs which you will need to use to parse the JSON data that is posted.
To post the JSON you need to first create the JSON
and assign it to one of the form fields. When you post the form the JSON string will be posted.
It is sorta covered in the
JavaRanch Style Guide
subject: Json Post Example
Sending a jason object via Post
Java Representation of JSON String
Struts2-json plugin not serializing action class to json
Rest based post for receiving and reponding with json
example for how to save JSON data to Database (JDBC)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014