# Question about sending request by http or https with get method

**URL:** <https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568>\
**Category:** Help Hub\
**Created:** [June 7, 2021, 3:44am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568 "2021-06-07T03:44:10Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ray0925](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@ray0925](https://community.postman.com/u/ray0925)\
**Post date:** [June 7, 2021, 3:44am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568/1 "2021-06-07T03:44:10Z")

</div>

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 [Yahoo.com](http://Yahoo.com) as an example, when I input the url like this:

> [Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos](https://www.yahoo.com?p=1) and 1=1

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

> [Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos](http://www.yahoo.com?p=1) 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?

---

<div class="post-metadata">

**Author:** ![taehoshino](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/taehoshino/32/6608_2.png) [@taehoshino](https://community.postman.com/u/taehoshino)\
**Post date:** [June 7, 2021, 5:06am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568/2 "2021-06-07T05:06:12Z")

</div>

Hey @ray0925 👋 Welcome to the Postman Community 👋

The latter URL `http://www.yahoo.com?p=1` is redirected to `https://www.yahoo.com?p=1` 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).

 ![follow_redirects](https://us1.discourse-cdn.com/getpostman/original/3X/5/a/5acc233f6f89b72e5d25da3617533a35dc2f6b3f.png)

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.

 ![Screen Shot 2021-06-07 at 3.04.43 pm](https://us1.discourse-cdn.com/getpostman/original/3X/3/6/3683b902c18234eba0bde28a5377edf021a2f5c8.png)

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

---

<div class="post-metadata">

**Author:** ![ray0925](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@ray0925](https://community.postman.com/u/ray0925)\
**Post date:** [June 7, 2021, 6:16am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568/3 "2021-06-07T06:16:35Z")

</div>

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

http

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/6/5604959dff79e3eccb018119ace16b3c57bff8a7.png)

https

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/8/c/8c33a743e99218b0ad9c3917ad2f96b468747880.png)

---

<div class="post-metadata">

**Author:** ![taehoshino](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/taehoshino/32/6608_2.png) [@taehoshino](https://community.postman.com/u/taehoshino)\
**Post date:** [June 7, 2021, 6:31am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568/4 "2021-06-07T06:31:23Z")

</div>

Hey @ray0925,

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

Are you seeing the same behaviour on the web ([go.postman.co](http://go.postman.co)) 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?

---

<div class="post-metadata">

**Author:** ![ray0925](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@ray0925](https://community.postman.com/u/ray0925)\
**Post date:** [June 7, 2021, 6:44am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568/5 "2021-06-07T06:44:29Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/8/58c279de377cee0412ebd8e9f941cd3fedd1a377.png)

---

<div class="post-metadata">

**Author:** ![ray0925](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@ray0925](https://community.postman.com/u/ray0925)\
**Post date:** [June 8, 2021, 2:01am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568/6 "2021-06-08T02:01:18Z")

</div>

Does anyone have any idea on this?

---

<div class="post-metadata">

**Author:** ![taehoshino](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/taehoshino/32/6608_2.png) [@taehoshino](https://community.postman.com/u/taehoshino)\
**Post date:** [June 11, 2021, 2:37am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568/7 "2021-06-11T02:37:50Z")

</div>

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?

```auto
curl -v 'http://www.yahoo.com?p=1%20and%201=1' 

```

---

<div class="post-metadata">

**Author:** ![ray0925](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@ray0925](https://community.postman.com/u/ray0925)\
**Post date:** [June 11, 2021, 5:57am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568/8 "2021-06-11T05:57:51Z")

</div>

Thank you for your enthusiastic! Here is the output of the command:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/1/f/1f4944332b77f3505e4fc532e59e47bf2c9ac81d.png)

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

---

<div class="post-metadata">

**Author:** ![taehoshino](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/taehoshino/32/6608_2.png) [@taehoshino](https://community.postman.com/u/taehoshino)\
**Post date:** [June 15, 2021, 7:13am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568/9 "2021-06-15T07:13:48Z")

</div>

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](https://www.quora.com/Trouble-Shooting-What-does-The-connection-was-reset-mean)

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 😃

---

<div class="post-metadata">

**Author:** ![ray0925](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@ray0925](https://community.postman.com/u/ray0925)\
**Post date:** [June 15, 2021, 8:45am UTC](https://community.postman.com/t/question-about-sending-request-by-http-or-https-with-get-method/24568/10 "2021-06-15T08:45:44Z")

</div>

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!
