Enable CORS in the request header

Asked

Viewed 104 times

0

someone knows if they can enable CORS in the ajax request header without having to do anything on the API server, similar to what POSTMAN does. With POSTMAN as you test the API and it works right when it goes to the front application of the CORS error, then there is a way to do this by the request.

  • Chrome applications may have cross Domain permissions. When you install Postman, the app tells you that it will have access to any domain.

  • Source: https://developer.chrome.com/extensions/xhr. as far as I know, your server must accept CORS

  • Depending on what you want, you can use a proxy.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.