Set default json over REST reponse header

1
I have a project wich publishes many json over rest services. The default content-type of all the responses is "text/plain;charset=UTF-8". I want to set this to "application/json;charset=UTF-8" for all my services. The only way to do this seems to call the setResponseHeader java action at each microflow that handles a published service. Is there a way to change the default content-type for all my REST services?
asked
0 answers