Hi there,
I'm calling an API (that I don't have the source code to) using rest-assured. I specify "application/x-www-form-urlencoded" as the content-type of the Request. But rest-assured appends the Charset to this content-type in the request.
So my request looks like this:
"Content-Type: application/x-www-form-urlencoded; charset=ISO-8859-1"
I know that ISO-8859-1 is a standard HTTP charset, but the API that I call is unable to process this.
Removing the charset part (Content-Type: application/x-www-form-urlencoded) gives me a 200 OK (I CURLed this).
I
want to know, is there any way that I can exclude the "charset" in the
request that I make through rest-assured? Just so that the External API
doesn't get affected.
Thanks for the help in advance.
Regards,
Atindriyo