Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header params #19

Closed
ticktricktrack opened this issue Jul 10, 2012 · 1 comment
Closed

Header params #19

ticktricktrack opened this issue Jul 10, 2012 · 1 comment

Comments

@ticktricktrack
Copy link

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
Copy link
Owner

fredwu commented Jul 15, 2012

Yes, header support is planned. See #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants