Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: A RESTful API framework

by ctilmes (Priest)
on Nov 10, 2009 at 20:17 UTC ( #806338=note: print w/replies, xml ) Need Help??

in reply to A RESTful API framework

I like your "TIMTOWTDI" with the "fmt=json" parameter in the URL and "GET .../foo.json" extension. Just also get it from the standard HTTP "Accept: application/json" header.

Replies are listed 'Best First'.
Re^2: A RESTful API framework
by jeteve (Pilgrim) on Nov 11, 2009 at 10:12 UTC
    Thanks for the idea.

    I'm not sure how to implement it though. Should I assume that API developers will tell their API users to specify just one pure MIME type in their Accept header?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://806338]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2016-10-25 09:30 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (315 votes). Check out past polls.