#Unsafe Header

3 messages · Page 1 of 1 (latest)

plain flint
#

Hey dear devs,
i am pretty new to programming and using APIs. I get the following error everytime i try to make a request. :
xhr.js:162 Refused to set unsafe header "User-Agent"
set

Do you know what i am doing wrong?

dusty yacht
#

For some reason something is trying to set the user agent. It's a setting for headers that usually indicate what kind of browser is being used. Any ideas?

charred crystal
#

I have same error, were you able to fix it?