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.
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
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.
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.