Is there a way for us to test the API on localhost?

  • 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.  
Have more questions? Submit a request

0 Comments

Article is closed for comments.