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

Can you retrieve the api token from the request parameters as well as the Authorization header? #133

Open
wasimkham opened this issue Jun 26, 2016 · 3 comments

Comments

@wasimkham
Copy link

wasimkham commented Jun 26, 2016

Is it possible to have JSONP support? It speeds up AJAX requests when it doesn't make OPTIONS requests beforehand for cross site requests, so would be great to have the access_token retrieved from the request parameters if it doesn't exist in the Authorization header.

@kiwina
Copy link

kiwina commented Jun 27, 2016

the package actually user ellipsesynergie/api-response to respond to any calls and i didn't see anything implemented there

@wasimkham
Copy link
Author

I'm talking about the authentication, the response is something I have custom handlers for. I'm proposing that the api token be retrieved from the GET/POST request parameters as well as the Authorization header. This means an OPTIONS request isn't required resulting in faster AJAX calls.

@wasimkham wasimkham changed the title JSONP support Can you retrieve the api token from the request parameters as well as the Authorization header? Jun 27, 2016
@MelonSmasher
Copy link

I would also like this.

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

3 participants