I have a problem when calling api with method POST.
I tried to call this api in Postman and it works. But when I try to call in Katalon, there is a problem like the following picture:
The response status is 200 but body having wrong font like this:
Header and body are the same, but I don’t know why katalon can not return the expected response.
I hope everyone can help me to resolve this problem.
Thank you so much!
I was facing the same issue - though with slightly different error message (Unrecognized token ‘é’: was expecting (JSON string, Number, Array, Object or token ‘null’, ‘true’, or ‘false’))
On the broken response header, i saw this -> Content-Encoding: br
On my request header, i had Accept-Encoding gzip, deflate, br.
I tried deleting the ‘br’ from the Accept-Encoding on my header and resent the request. It solved the issue for me.
Maybe you can try checking the Content-Encoding from the broken response and try to modify your request header’s Accept-Encoding accordingly.