Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: A RESTful API framework

by ctilmes (Vicar)
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://806338]
help
Chatterbox?
[Eily]: that was a sneeze overpowering a cough
[choroba]: Czechs sneeze "Hep-cheek"
vrk adds gingerbread cookies to the platter on the sideboard.
[erix]: I'll give that a try next time
vrk takes a cookie from the platter on the sideboard.
[Eily]: French sneeze "Atchoum", because we close our mouth when we're done :P
[erix]: Hatshepsut (no sneezing audio there)
choroba wipes the saliva from the cookies
[LanX]: scary Le Pen + Melonchon had over 40% ...
[vrk]: One good word for it in Finnish is pärskäys. A very wet connotation.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2017-04-24 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (442 votes). Check out past polls.