fredwu / api_taster

A quick and easy way to visually test your Rails application's API.
http://fredwu.github.com/api_taster
727 stars 85 forks source link

Header params #19

Closed ticktricktrack closed 12 years ago

ticktricktrack commented 12 years ago

This one is kind of a deal breaker to me, I got api_taster working and like it, but I also want to version and authenticate my api using headers.

curl http://localhost:3000/api/products -H 'Authorization: Token token="c576f0136149a2e2d9127b3901015545"'

As seen in: http://railscasts.com/episodes/350-rest-api-versioning http://railscasts.com/episodes/352-securing-an-api

This goes beyond the global_params features. For now it's back to postman, let me know if you plan on adding this feature.

fredwu commented 12 years ago

Yes, header support is planned. See #6