190
Views
3
Comments
Rest API Consume Method URL
Question

I cant guess my method URL correctly when I want to consume REST API I Exposed in other module.  I also cant find exact information. it says I need server name. now it is looks like this .


this is  method url:

/FirstHomework/rest/ArticlesAPI/Method1/{ArticleId}


Url path: 

/Method1/{ArticleId}



What am I doing wrong? :D




Screenshot 2022-09-17 002830.png
2021-06-02 20-50-04
Márcio Carvalho

Hmmm, what you are putting at the beginning is your localhost... What you should put is the URL of your online host. 

https://www.outsystems.com/training/courses/116/integrating-with-web-services/

You must put your host. Check my host in this case.

2025-10-18 11-13-53
Ramesh subramanian

hey Nino Gachechiladze,

your case server name is IP address of the server. check with your end domain URL of that server.


thanks

Ramesh

UserImage.jpg
Saurabh Shivananda Prabhu Chimulkar

Hi Nino,

Please check the below OutSystem documentation that guides you how to go about documenting your exposed APIs:https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/REST/Expose_REST_APIs/Document_an_Exposed_REST_API

Via this you should be able to get all the needed information of your  exposed REST  API.

Hope this helps.

Regards,

Saurabh

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