Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Getting CORS error when trying to use http post to send data to the nodejs API

$
0
0

@dimithrab wrote:

im getting this when debugging,

XMLHttpRequest cannot load…
has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost’ is therefore not allowed access.
when i run the app in my android device i get this.

anyone know how to fix this? thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>