16
Views
1
Comments
Consume API
Application Type
Reactive

I have a get api and i need to give username and password to fetch the response.In "Data" tab settings i have created a folder and stored username and password.Please help me how to pass the username and password which i have stored in settings to get the response? 




2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Joe,

Authenticating a REST API with username/password is called Basic Authentication

For consuming REST APIs you can do it as described here:

https://www.outsystems.com/forums/discussion/22162/set-rest-api-basic-authentication/

For producing REST APIs you can do it as described here:

https://success.outsystems.com/documentation/11/extensibility_and_integration/rest/expose_rest_apis/add_basic_authentication_to_an_exposed_rest_api/

Regards,

Daniel

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