on 04-20-2015 10:54 AM
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
Hi Pragya,
What is your scenario? You can actually include custom http header fields via SOAP receiver adapter XHeaderName1..3 .
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.