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

Alternative name to api_key #36

Closed
joaosigma opened this issue Jul 18, 2012 · 3 comments
Closed

Alternative name to api_key #36

joaosigma opened this issue Jul 18, 2012 · 3 comments

Comments

@joaosigma
Copy link

Our server doesn't have a concept like api key. Instead, since it uses sessions, it has a special kind of session. For example, while testing, developers can append "?sessionID=sessionDebug" to the URL for testing purposes, to avoid asking for a proper session (and that would imply logging in, etc.).
The existing api key feature does exactly this, except that it always creates a parameter name 'api_key'. It would be nice if we could explicity set what this parameter would be named.
Like the recently created "supportedSubmitMethods" parameter, there could be a new one called "apiKeyName" that could control the name of the URL parameter of the api key (it would default to "api_key")

@ayush
Copy link
Contributor

ayush commented Jul 18, 2012

This makes sense and should be easy enough to do; look for an update later today.

@ghost ghost assigned ayush Jul 18, 2012
@ayush ayush closed this as completed in a77e617 Jul 18, 2012
@ayush
Copy link
Contributor

ayush commented Jul 18, 2012

@joaosigma
Copy link
Author

I've been testing and it's working perfectly. Just one small detail :) Before the api key text box is filled out it displays "api_key" (in light grey) when it should display the name set with apiKeyName.

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

No branches or pull requests

2 participants