http://localhost:8181/sdk.customIntegration.generateCustomerToken(payload) - I can see in Chrome Devtools that it does POST request to an endpoint http://localhost:8181/customIntegration/generateCustomerTokenmysite.comapi.mysite.combuild time, so that when the application calls SDK sdk.customIntegration.generateCustomerToken(payload) - it does POST request to http://api.mysite.com/customIntegration/generateCustomerTokenprod use the hostname of your service, then SDK will be sending requests to that hostname