odesmaele
6 years agoNew Contributor
Boundary refused characters
Hi
When I execute a post with an attachment, Load UI generates a boundary (I already removed the quotes) like this
Content-Type: multipart/form-data; boundary="----=_Part_63_784287734.1559741...
- 6 years ago
Hi odesmaele,
You can modify the boundary value using the RequestFilter.filterRequest event handler, please see an example here: https://smartbear-cc.force.com/portal/KbArticleViewer?name=Troubleshooting-issues-with-adding-attachments-to-REST-requests&sp=all.
But, ReadyAPI is working according to the HTTP standards:
- https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html
- https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html
So, it's better to check whether your server follows the standards.