- You can use 'localhost' in your API account and in the JavaScript code:
SomApi.domainName = "localhost";
- If you are using a port other than 80, your JS code may look like this:
SomApi.domainName = "localhost:8080";
- Please keep in mind that the account domain, domainName in your JavaScript code and the actual website domain in the browser must all match.
0 Comments