users@jersey.java.net

New to REST - How to send data for POST method

From: piranha <piranha.urs_at_gmail.com>
Date: Wed, 1 Sep 2010 05:53:04 -0700 (PDT)

Hi there,

I'm new to REST. I'm little bit confused with POST.

I'm able to implement GET method successfully. My problem is i don't know
how to do a POST implementation.

My understanding is, to create a new row of data into a database using POST
method, we need to pass the data as parameters in the request URL. Am i
correct, please help me.

For Ex : http://RestApp/Addresource/{id}/{fName}/{lName} , Please correct
me.

Also, if i'm supposed to send the data in the form of xml, how can i pass
the xml with request url?
-- 
View this message in context: http://jersey.576304.n2.nabble.com/New-to-REST-How-to-send-data-for-POST-method-tp5486775p5486775.html
Sent from the Jersey mailing list archive at Nabble.com.