Closed PierrickLozach closed 4 years ago
Hi @PierrickI3,
This is actually the expected behavior. Google Apps Scripts first return 302 (redirect) which means something along the lines "this resource is available on another location - go and check there".
Browsers and most rest clients simply follow redirect to get the actual response. E.g. VS Code REST Client has a setting rest-client.followredirect
to configure that (https://marketplace.visualstudio.com/items?itemName=humao.rest-client#user-content-settings).
Let me know if this helps! Mateusz
Thanks @ziolko !
Hi,
great idea!
I have one issue. When I call the POST /exec from Postman, it works fine but from other clients (e.g. vscode REST client), I get a 302 Moved Temporarily error.
Request from VS Code REST Client addon:
I get this:
Still works from Postman though:
Any idea why this is happening?