Larry,
Thank you SO much for answering my question. If anyone is
wondering, THIS WORKED.
Have a good one!
Martin Dinstuhl
On Wed, Aug 19, 2009 at 3:00 AM, hitch wrote:
>
> The format is determined by the HTTP Accept header, and not by adding
> an extension on the URL.
> So, your url remains
hitch wrote:
> The format is determined by the HTTP Accept header, and not by adding
> an extension on the URL.
> So, your url remains /sessions/create and not /sessions/create.xml
Wait a moment. The URI is actually /sessions not /sessions/create. The
HTTP verb is used to select the create meth
You can use the RestfulClient gem to test it out instead of CURL.
On Aug 19, 1:00 pm, hitch wrote:
> The format is determined by the HTTP Accept header, and not by adding
> an extension on the URL.
> So, your url remains /sessions/create and not /sessions/create.xml
>
> You can test this out by
The format is determined by the HTTP Accept header, and not by adding
an extension on the URL.
So, your url remains /sessions/create and not /sessions/create.xml
You can test this out by using a command line tool like curl. For
example:
curl -H "Accept: application/xml" "http://localhost:3000/s
4 matches
Mail list logo