Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Overwrite request header "application/x-www-form-urlencoded", when none is specified #81

Closed
thim81 opened this issue Feb 12, 2021 · 1 comment

Comments

@thim81
Copy link
Contributor

thim81 commented Feb 12, 2021

The Postman requests always seems to fallback to the request header "application/x-www-form-urlencoded", when none is specified.

Is there a way to overwrite this behaviour?

@simskij
Copy link
Contributor

simskij commented Feb 15, 2021

Hi @thim81,

No, unfortunately not. This is the default behavior of k6, as described in https://k6.io/docs/javascript-api/k6-http/post-url-body-params.

Feel free to raise a ticket in https://github.com/loadimpact/k6 with your suggestion.

Best,
Simme

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants