Question about sending request by http or https with get method

Hi, I am new to Postman. Recently I am studying blind SQL injection issue, just tested the response of different website. I found that there have different response between http and https.

Take as an example, when I input the url like this:

Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos and 1=1

Postman has return the response to me, which is fine, but when I input the url like this: and 1=1

Postman will stuck at Sending request screen for a while, and return Could not get response screen.

Does anyone knows the reason why it return different results?

Hey @ray0925 :wave: Welcome to the Postman Community :wave:

The latter URL is redirected to and that’s probably why you are not able to receive the response.

Please check if “Automatically follow redirects” is turned on in the Settings (Go to gear icon at the top > Settings).

If you check the console log, you should be able to see the two requests - one is the original URL with 301 status code and the second is the redirection URL.

Hope this helps! Do let me know if you have further questions! :smiley:

1 Like

Thanks for your reply! Unfortunately, I checked my Postman set up, the “Automatically follow redirects” are checked, but the results are the same ….



Hey @ray0925,

That’s strange - I am unable to reproduce the behaviour you are seeing and it works fine for me :thinking:

Are you seeing the same behaviour on the web ( as well?

Can you share a screenshot of console log to check if the http request is returning 301 status code and is being redirected?

The web version works fine, it’s weird. And here is the screen capture from the desktop app:

Does anyone have any idea on this?

Hey @ray0925,

Thanks for sharing the error message - that error suggests some protocol issue. Also the fact that it is working fine on the web might mean the issue is associated with your local device.
To validate on this, can you try sending the same request using cURL command on Terminal window as below?

curl -v '' 

Thank you for your enthusiastic! Here is the output of the command:

When I change http to https, it returns me the content of the web page.

Thanks for trying cURL command! I can see you are receiving the same response as the response you receive when you send the request from Postman app. This indicates the issue is associated with your device rather than Postman. You can find some context on this specific error here: Trouble Shooting: What does 'The connection was reset' mean? - Quora

The next step you might want to try is:

  • to check if you can send the request from web browser
  • to check if you can send the request by changing your IP (e.g. by using VPN)

Hope this helps to troubleshoot further :smiley:

1 Like

I tried to send request from another computer (using cmd and postman desktop app), it’s works normally. Maybe it’s related to my previous computer…
Thank you for your answer!

1 Like