494
Views
1
Comments
Solved
How to Add Response Header in Outsystems Rest API
Question

i want to know how to add https response header in outsystems Rest API,  like:  Cache-Control.


understand we have the extension: HTTPRequestHandler and function: addHeader.. 

but seems it doens't work for me.

2024-12-19 12-19-39
Amal
 
MVP
Solution

Hi 

I added a REST method and added a custom header using the addHeader() method. 

Tested in Postman client and it works fine. 

Can you provide more information on the problem you are facing. 

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