I am doing an application on react where i need to receive some data coming from webservice. I already have the sample of soap request and response, and i already had done some request by the postman and it is working fine. But when i want to make a soap request and response on react, it ives me the same problem every time that is CORS has blocked my access to XMLHttpRequest. Is somebody able to help me?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (4)
Either:
Browsers are more picky about CORS than Postman is.
Use axios
i have already tried that and i have the same problem
Your Soap api is the problem not react, you need to allow requests from your domain or localhost.