No 'Access-Control-Allow-Origin'... Worpress woocomerce resp-api

I’ve had a problem for 3 days, I’m working on a project with ionic 3.20.0 using Wordpress Rest-Api as a backend (woocommerce), but I get the following error when recovering data:

Access to XMLHttpRequest at '' from origin 'http://localhost:8100' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Can you help me please, I’ve been dying on it for three days now.
Your help

Have you test in device?

1 Like

I hadn’t tried it on a device.
Only I changed the web hosting and it’s going well now.

Thank you.