36
Views
5
Comments
How to customize the entire URL of a Rest API?

Hi,
we are receiving Data push URLs from different external repositories(through callback) and we are storing them in our Database, we need to push data through the Data push URLs which we have received. 
How to pass Data push URL from Database and customize the entire URL in runtime as per the requirement? 

Thanks


Hi Nokku,

You can implement logic within OnBeforeRequest.

 

Check the documentation: https://success.outsystems.com/documentation/11/extensibility_and_integration/rest/consume_rest_apis/simple_customizations/

Hi @Eduardo Pires ,
Thank you so much.

hi @Nokku Meghana

You can customise your URL through OnBeforeRequest call back function of API.

If you face any problem let me know.

Regards,

Pawan 


Hi @Pawan Kumar Parmar,
Thank you for your response, I will let you know after implementation.

Thanks and Regards
Meghana

Hi Pawan,
I need your help. I want to change the Base URL of the API according to the respective transaction id from the Database (both Data push URL and Transaction id stored in the database), now by using the transaction id I want to customize the Base URL of the Rest API.

Thanks
Meghana.

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