api-guard icon indicating copy to clipboard operation
api-guard copied to clipboard

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

Open wasimkham opened this issue 9 years ago • 3 comments

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.

wasimkham avatar Jun 26 '16 16:06 wasimkham

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

kiwina avatar Jun 27 '16 02:06 kiwina

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 avatar Jun 27 '16 08:06 wasimkham

I would also like this.

MelonSmasher avatar Feb 12 '18 00:02 MelonSmasher