160
Views
3
Comments
Solved
How to add custom HTTP Header to REST Drop Down box
Question

When building a REST Integration layer we are adding a custom header "X-CSRF-Header". When building each REST function the default drop down has 4 choices, how can I add this custom choice to that drop down interface as the 5th?  We are just cutting and pasting this each time at the moment but adding to the default drop down would speed up development.

UserImage.jpg
Pankaj Jain
Solution

Hi Sean Riley,

As per my knowledge, OutSystems only provide the 4 suggestion for request header which are commonly used but you can copy paste any other header which your API requires. I do not think OutSystems provides any way to add more custom choices. For you, copying and pasting the header won't take more than 1-2 seconds.

Thanks

Pankaj


2025-04-17 05-42-16
Ajit Kurane

Hello Sean,

In addition to previous post,

If I understood your use case well then please check below link and try to get some hints from it.

https://www.outsystems.com/forums/discussion/40945/consume-rest-api-and-send-custom-headers-in-onbeforerequest/

Regards,

Ajit Kurane.

2021-08-21 16-59-36
Sean Riley

Thank you both, the copy paste method works fine, was looking to see if parts of the UI in Service Studio could be customized somehow.

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