Add Content-Type to application/json in request doesnt seem to work

23 views
Skip to first unread message

Thomas Vervik

unread,
Jul 26, 2012, 5:47:14 AM7/26/12
to rest-...@googlegroups.com
See attachement, can't see what I'm doing wrong, trying to set header Content-Type till application/json, but the request sent from the RESTClient has Content-Type text/html

In advance thanks

restClient.png

Subhash Chandran

unread,
Jul 26, 2012, 6:52:16 AM7/26/12
to rest-...@googlegroups.com
Thomas,

You are setting the Content-Type in request, and your server is responding (response) with content-type text/html.

Subhash.

On Thu, Jul 26, 2012 at 5:47 AM, Thomas Vervik <thomas...@gmail.com> wrote:
See attachement, can't see what I'm doing wrong, trying to set header Content-Type till application/json, but the request sent from the RESTClient has Content-Type text/html

In advance thanks


--
You received this message because you are subscribed to the Google Groups "rest-client" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rest-client/-/TH9Tnyp90S8J.
To post to this group, send email to rest-...@googlegroups.com.
To unsubscribe from this group, send email to rest-client...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rest-client?hl=en.



--
Regards,
Subhash Chandran S

Founder http://FileIt.in/
Reply all
Reply to author
Forward
0 new messages