Is it possible to add a http response header to Rest service

0
We are using Mendix to publish RESTful services, We need add a special header into RESTful http response. Is it possible? Anyone can help on it?  Thanks
asked
2 answers
0

you can use the default http response header or else you can create a header of your own and hook in the total response of the Request and you can send

answered
0

You can find the documentation on https://docs.mendix.com/refguide/published-rest-operation

“To set the status code, reason phrase, and headers, add an HttpResponse object parameter and set the attributes of that object, or return an HttpResponse.“

answered