• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa REST Client and ERRest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Move of wiki documents to a new space
  • Next by Date: Image attribute and REST
  • Previous by thread: Re: Move of wiki documents to a new space
  • Next by thread: Image attribute and REST
  • Index(es):
    • Date
    • Thread