Avatar of Zack
Zack
Flag 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 

Web DevelopmentWeb ServersWindows Server 2012

Avatar of undefined
Last Comment
Zack

8/22/2022 - Mon
Zack

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
Zack

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23