In a text part of a multi-part request, there can be many content-types for example text/plain, application/json, application/xml, etc. Particularly with the latter 2 content-types, the text/data is going to be multi-line in format. Nightingale cuts off everything but the first line, which will cause a 400 Bad Request because the payload isn't complete.
Please allow for multi-line text in multi-part form-data requests
Here you can see I'm trying to type json into the text part:
Nightingale does not save the entire multi-line text. Just the first line (in my case the opening brace of a json object)
Which results in the text payload not coming over in its entirety, causing a 400 Bad Request
In a text part of a multi-part request, there can be many content-types for example text/plain, application/json, application/xml, etc. Particularly with the latter 2 content-types, the text/data is going to be multi-line in format. Nightingale cuts off everything but the first line, which will cause a 400 Bad Request because the payload isn't complete.
Please allow for multi-line text in multi-part form-data requests
Here you can see I'm trying to type json into the text part:
Nightingale does not save the entire multi-line text. Just the first line (in my case the opening brace of a json object)
Which results in the text payload not coming over in its entirety, causing a 400 Bad Request
Version: 4.4.2.0 OS: Windows