COMMUNITY

How to set header's origin in haxe.Http?

how to set header’s origin in haxe.Http?

h.setHeader('Origin','localhost');//not work .how to do here?

According to Origin - HTTP | MDN it is a forbidden header name and cannot be modified by the user.

1 Like