I'm using RESTassured with Java. Getting response in compressed from UTF16 format. Response varies from developer tool to code debugging in Chrome/Firefox, here variation means some character got changed.
Steps:
- Loaded the URL
- Opened developer tool by pressing F12
- Selected the API and checked the response. Here i got response like:
ᯡࡈ䆼̀䬥堰攢䰢\ᙴঠ㙀ழⓒ
- Then gone to sources then checked the response it was something like this
ᯡࡈ䆼̀䬥堰攢䰢ᙴঠ㙀ழⓒ
How to handle this? what all the response contains? is it contains headers?