Override content-type in response header Rest

Posted by gdb390 on 22-Sep-2014 14:46

hi,

is iT possible to override the content-type header  in the response of a rest webservice ? 

and if possible, how ? 

Gerd 

Posted by gdb390 on 25-Sep-2014 03:13

Hey Jean,

I just found the answer myself :)

I explain what I did :

* add a node in the response headers with name Content-type

* map an output parameter to that node

* in ABL code I set the value of that output parameter to the value I want !

Thanks for following this up

Gerd  

All Replies

Posted by Jean Richert on 25-Sep-2014 02:57

Anyone following this forum could share and assist Gerb?

Posted by gdb390 on 25-Sep-2014 03:13

Hey Jean,

I just found the answer myself :)

I explain what I did :

* add a node in the response headers with name Content-type

* map an output parameter to that node

* in ABL code I set the value of that output parameter to the value I want !

Thanks for following this up

Gerd  

This thread is closed