Set ':authority' header in Postman

2.7k Views Asked by At

I'm currently trying to replicate a https request with the following headers.

enter image description here

The authentication is based on a Session Cookie. However, there is also a header field called :authority, which I'm not able to replicate in Postman.

enter image description here

Also, couldn't I find any solution for that problem or what exactly the :authority header means on the Internet. This header seems to be required, as I'm getting a 400 error code back as soon as I send my replicated request.

enter image description here

I've proxied the request sent from Postman and can confirm that the only difference at the first glance is the missing :authority header. Thanks ^^

1

There are 1 best solutions below

0
On

Alright, taking a closer look at the Raw Request, I noticed that the actual header is called Host and is mapped in the UI to :autority. Now its working. cheers

enter image description here