Cocoa REST Client and ERRest
Cocoa REST Client and ERRest
- Subject: Cocoa REST Client and ERRest
- From: Pascal Robert <email@hidden>
- Date: Fri, 20 Jul 2012 15:12:59 -0400
FYI, if you use Cocoa REST Client to test your ERRest services, there is a gotcha: when you do a POST request, it will send:
Content-Type: application/x-www-form-urlencoded
So the ERRest parser will try to parse the request as if it's a POST from a HTML form. So either add the format (.json) at the end of the URL of your request, or change the Content-Type header to be the good one (application/json, text/xml, etc.).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden