Setting content-type text/html

I would like the response header to be set to content-type text/html. I understand this can be achieves by creating a Utility Function.

Function Stack > Add Function > Utility Functions > HTTP Header > Text = Content-type text/html

However, when testing the API the Headers still have a value of application/json; charset=UTF-8. Can anybody advise on what I am not doing correctly? Thank you.

The Function Stack set up is below:


API End point: https://x8ki-letl-twmt.n7.xano.io/api:l29rHjWW/questions/{questions_id}

Postman response:

7 replies