Forum Discussion
MarcusJ
8 years agoModerator
Hi,
You can ue a Groovy script to remove the header in an event handler.
Using RequestFilter.filterRequest event handler:
context.getProperty("httpMethod").removeHeaders("Content-Type") // remove Content-Type header
http://readyapi.smartbear.com/readyapi/events/start
Regards,
Marcus
SmartBear Support