DEV Community

waqdev786
waqdev786

Posted on

Getting junk chracters with Axios.get method

Hi ,can someone advise that i am getting json response from mongodb which looks good if i directly check in browser but with Axios.get response get corrupted and then only works if i set Accept-Encoding: json.

DO you think it is ok to as some time browser give warrning for this header?

Top comments (0)