Link to home
Start Free TrialLog in
Avatar of Zack
ZackFlag for Australia

asked on

POSTMAN troubleshooting the issue of PUT's 301 Redirect

Hi EE,


I just installed POSTMAN on one of our Jump Servers (Windows Server 2012 R2), whenever I send a POST request my request is redirected as a GET request, with a 301 redirect message. I tried disabling redirects via the Settings > Automatically Follow Redirects but that gave me a similar error 301 Moved Permanently. 


I believe the issue is server-side any ideas on how I would troubleshoot this?


Below is the information from the POSTMAN console 'host' and 'location' data have been removed.


Network
Request Headers
Authorization: Basic VTdjZmpOZHp4cTE4UzB3ZmkxVWJrRFlEeGtvOnc3NlhRNk4xbUxSa0EweDdUQmxTZHpXY0RuWW5yZXRFTXdQMVJ2akVzZjQ=
User-Agent: PostmanRuntime/7.28.4
Accept: */*
Postman-Token: 38c143ae-8904-4893-b5fe-530acc537e9d
Host: 
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 0
Response Headers
Server: awselb/2.0
Date: Thu, 07 Oct 2021 08:35:54 GMT
Content-Type: text/html
Location: 
Content-Length: 134
Connection: keep-alive
 




Any help is much appreciated. 


Thank you 

Avatar of Zack
Zack
Flag of Australia image

ASKER

Hi EE,

Worked out the issue, the API was rejecting the POST request because it wasn't encapsulated via HTTPS.

Thank you. 
 
ASKER CERTIFIED SOLUTION
Avatar of Zack
Zack
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial