Confusing issue with json


I’ve an upload script on codepen.

This works in their site.
I cannot get it working locally (I use visual studio).
I’m expecting it to change the location.

Any thoughts please


What is the IP you’re wanting the location of?

If it’s localhost - eg. - I imagine it has no location.

Unless explicitly allowed by the third party, Ajax requests are not allowed to third party hosts (only the current host, where the Html is served from). You should look if they have any documentation on how to do cross-domain requests against their site.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.