Unable to Consume Rest API from Local Server
Application Type
Service Studio Version
11.14.16 (Build 60354)

Hi All,

How to consume a rest API where the site is in local server.

I have tested with Postman from the same local server and it works perfectly .  

I have also installed the service studio in the same local machine and trying to connect the REST API but it throwed up an error "The remote name could not be resolved: 'sc93sc.dev.local'". Does this API should be in cloud to consume.?



Hi Vinod,

A rest API can only be consumed if it has a valid  public domain or public IP address so that it can be exposed to the world and can be ready for consumed.

You can get the response in local through postman as your postman is in local and it sends request from local only 

but in case of service studio code is executed in cloud (outsystems cloud) unless you have on premise license of outsystems and the request is generated from the cloud and as you don't have valid public domain you are getting exception

Hope this will help you.

Bets regards


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.