How does HTTPRequest work in Godot

Godot Version



I’ve made a simple godot application where it fetches data from an api. It works great, it’s a public api and I didn’t use any keys in godot. However, when I try to fetch it with javascript it throws a cors error. I was wondering why the httprequest in godot works fine, but it doesn’t work on the web?

for Web/JS: crossorigin necessary

I have never tried it, but I think the server would also have to be configured correctly.