Hello,
I am a mac user and I have request in postman (version 8.8.0 (8.8.0)) with tests in which I am repetitively sending the request. The problem is that the content-length header is not added at all. Here is how the code looks:
pm.sendRequest({
url: “https://<my_url>”,
method: ‘GET’,
header: {
‘Content-Type’: ‘application/json’,
‘Content-Length’: 348
},
body: {}
}, function (err, res) {
//callback
});
Here is what I actually get in the request headers:
Content-Type: application/json
User-Agent: PostmanRuntime/7.28.2
Accept: /
Postman-Token: 142ff383-904c-49f2-a577-9fb7d9a44e6b
Host: <my_host>
Accept-Encoding: gzip, deflate, br