Getting a HTTP/1.1 302 Moved Temporarily response even with Followredirect enabled.
- REST Client Version: 0.24.4
- VSCode Version: 1.52.1
- OS Version: Windows 10 Home (64 bit)
Steps to Reproduce:
- POST https://script.google.com/macros/s/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/exec/?function=Test&column=2&value=12&key=keyname
- Click on Send Request
I get a response of 302 Moved Temporarily and I have verified that the Followredirect for 3xx is enabled in settings.
It does not seem like it is following the redirect.
I did notice when I go into the shell and run Curl it is being aliased by Invoke-WebRequest so perhaps the issue is my comp?
@amazingjoe Have you found solution to this? I'm also facing this issue.
Same problem here.
You can use curl with this option, curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_MAXREDIRS, 1); curl_setopt($ch, CURLOPT_AUTOREFERER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);