-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Hello,
By default the .postMapping method creates a stub using an URLRequest with a default Content-Type "application/x-www-form-urlencoded", which is incorrect. The value of this header should be "application/json" since the body is actually JSON.
I am having an issue where a security equipment between my client code and the mock server blocks all stub creations because of the incorrect value of this HTTP Header.
I tested that the correct value "application/json" works as intended.
Do you think it would be possible to use the correct value for all stub creations please ?
Thank you for your help.
(If you need, I can provide a PR)
Metadata
Metadata
Assignees
Labels
No labels