Hello All,
I have to write a custom adapter module to set HTTP headers.
I have been looking to PI JAVA docs but didn't find any suitable class/method to write or set header. I do see get header methods but nothing to set except for set content type.
Please let me know which class/ interface can I use for to achieve this.
The HTTP parameters that I want to add are :
"Access-Control-Allow-Origin" = "*"
"Access-Control-Allow-Headers" = "Authorization"
Thanks,
Pragya