Forum Discussion
SmartBear_Suppo
SmartBear Alumni (Retired)
Hi,
You can manually add the Content-Type header and it will override the generated one. Go into the "Headers" tab for the request and add a new header. Name it "Content-Type" (without the quotes) and set the value to "text/xml; charset=utf-8" (again, no quotes). Good luck!
Regards,
Dain
eviware.com
You can manually add the Content-Type header and it will override the generated one. Go into the "Headers" tab for the request and add a new header. Name it "Content-Type" (without the quotes) and set the value to "text/xml; charset=utf-8" (again, no quotes). Good luck!
Regards,
Dain
eviware.com
bdupont
8 years agoNew Contributor
Hello, quoting:
You can manually add the Content-Type header and it will override the generated one. Go into the "Headers" tab for the request and add a new header. Name it "Content-Type" (without the quotes) and set the value to "text/xml; charset=utf-8" (again, no quotes). Good luck!
-> That's fine for one test, but what if you want to do this for all your requests by default ?
I guess I can do that with groovy scripts, but is there an integrated way?
Related Content
- 3 years ago
- 8 years ago
- 5 years ago