Sent x-www-form-urlencoded body entries not separated?

Hi,
I need to make a POST call with body payload that is x-www-form-urlencoded.

In the Postman Windows app 5.5.3, I go to the Body tab, select the x-www-form-urlencoded radio box and fill out the key-value pairs I need. Say

  • key1: val1
  • key2: val2
    I send the request.

When I look in the Console, I see something like

POST /hello
content-type: application/x-www-form-urlencoded
cache-control: no-cache
postman-token: 93b12f39-7ecd-4239-9127-6b5d43609e4b
user-agent: PostmanRuntime/7.1.1
accept: */*
host: api.host.com
accept-encoding: gzip, deflate
content-length: 19
key1=val1key2=val2

Should’t be there an ampersand (&) to separate the two entries, key1=val1&key2=val2 ?

POST - HTTP | MDN

Yes, you are right there should be a ampersand between the values!

This looks like a small displaying bug as Postman is actually sending the information properly.

Go ahead a test it yourself with a request inspector such as https://requestbin.fullcontact.com/.

Hope this helps to clarify the confusion.

Thanks man, I sniffed it with Wireshark and the ampersands are really there.