Hello, I am new to jquery and so far not figured out a way on how to specify data in request body while making Jquery ajax call.
I am trying to do this: var request_body = "some data"; $.ajax({ error:function(request){ alert('failure'); $('#error').html(request.responseText); }, success:function(xml, textStatus){ alert('success'); }, type: 'PUT', url: edge_server_root + '/timezones/' + timezone.id, contentType: 'text/xml', data: request_body }); I think the above call puts the request_body in the HTTP Header instead of Request Body. Can any one point out on specify the request_body in the Request Body instead of in Header? Thanks. Regards, Nitin