# Postman-echo returns "http" for "x-forwarded-proto"

**URL:** <https://community.postman.com/t/postman-echo-returns-http-for-x-forwarded-proto/72108>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [December 5, 2024, 7:57am UTC](https://community.postman.com/t/postman-echo-returns-http-for-x-forwarded-proto/72108 "2024-12-05T07:57:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![material-cosmonaut-4](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@material-cosmonaut-4](https://community.postman.com/u/material-cosmonaut-4)\
**Post date:** [December 5, 2024, 7:57am UTC](https://community.postman.com/t/postman-echo-returns-http-for-x-forwarded-proto/72108/1 "2024-12-05T07:57:36Z")

</div>

Greetings,

We are experiencing the same issue from [Postman echo https echoes as http](https://community.postman.com/t/postman-echo-https-echoes-as-http/62141), we are currently observing “x-forwarded-proto” being returned as “http” instead of expected “https”.

Part of the response that we are getting:

```auto
"headers": {
    "host": "postman-echo.com",
    "x-forwarded-proto": "http",
    "x-request-start": "t1733364600.565",
    "connection": "close",
    "content-length": "20",
    "x-forwarded-port": "443"
}

```

This is causing issues in our CI/CD pipeline. Can you please take a look?

Thanks,  
Nikita

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 5, 2024, 7:58am UTC](https://community.postman.com/t/postman-echo-returns-http-for-x-forwarded-proto/72108/2 "2024-12-05T07:58:45Z")

</div>

Hey @material-cosmonaut-4 👋🏻

Could you explain more about how you’re using the echo service in your pipeline?

How does that tie into your workflow in your given context?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 5, 2024, 12:20pm UTC](https://community.postman.com/t/postman-echo-returns-http-for-x-forwarded-proto/72108/3 "2024-12-05T12:20:40Z")

</div>

Hey @material-cosmonaut-4 👋

This should be fixed now and showing the correct value in the header. 🙏

I’d still love to hear how you’re making use of the Echo service in your context.

---

<div class="post-metadata">

**Author:** ![material-cosmonaut-4](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@material-cosmonaut-4](https://community.postman.com/u/material-cosmonaut-4)\
**Post date:** [December 5, 2024, 3:32pm UTC](https://community.postman.com/t/postman-echo-returns-http-for-x-forwarded-proto/72108/4 "2024-12-05T15:32:51Z")

</div>

Hi @danny-dainton,

Thanks for the quick fix, I can confirm that we are now getting “https” value back.

As for the context question - sure! We have a service that uses various custom HTTP clients. These clients need to be tested and the simplest way for us during the time was to use a 3rdparty server, like Postman Echo. So we are testing that those HTTP clients are able to connect, send out requests and get back correct responses - that means that we have very strict tests with response values. These tests are baked into our CI/CD pipeline so that we can catch any issues before we use those clients in production. Hope this answers your question!

Thanks,  
Nikita

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 5, 2024, 3:38pm UTC](https://community.postman.com/t/postman-echo-returns-http-for-x-forwarded-proto/72108/5 "2024-12-05T15:38:10Z")

</div>

Thanks for the response 🏆

There is obviously the huge risk of being reliant on a 3rd party API, that you have no control over, to determine if your checks are returning the expected results. 😓

Appreciate you using the service but that’s always something to be aware of. 🙏

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 8, 2024, 3:39pm UTC](https://community.postman.com/t/postman-echo-returns-http-for-x-forwarded-proto/72108/6 "2024-12-08T15:39:05Z")

</div>

Closed on December 8, 2024, 3:39pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
