api-guard
api-guard copied to clipboard
Can you retrieve the api token from the request parameters as well as the Authorization header?
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.
the package actually user ellipsesynergie/api-response to respond to any calls and i didn't see anything implemented there
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.
I would also like this.