File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Languages and the fly likes Json Post Example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Json Post Example" Watch "Json Post Example" New topic

Json Post Example

Srinivas Katta
Ranch Hand

Joined: Feb 01, 2007
Posts: 75
Hi All,

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

amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 507
First of all you need to check out this Site.
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 string and assign it to one of the form fields. When you post the form the JSON string will be posted.

I agree. Here's the link:
subject: Json Post Example
Similar Threads
example for how to save JSON data to Database (JDBC)
Java Representation of JSON String
Sending a jason object via Post
Rest based post for receiving and reponding with json
Struts2-json plugin not serializing action class to json