http://qs1969.pair.com?node_id=806338


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?