NextDNS api is working on Express backend but not on React frontend.
I'm calling NextDNS api from Postman and Express and they are working good.
But the same code from React frontend got error "authRequired".
I correctly set x-api-key to header.
Could you tell me what's wrong?
It seems that NextDNS API is explicitly blocking their API endpoint being called from the front end.
Any requests to the NextDNS API endpoint with the `Origin` request header sent will always return the `authRequired`.
- 12 days agoLast active