Hi All,
I would like to share a way to overcome Cross Domain security issue.
It happens when you are making a HTTP Request from a WEB Server, let's say, SERVER 1, to a WEB Service hosted in SERVER 2.
To avoid the security issue, add a Request Header to your HTTP Request object:
httpRequest.setRequestHeader('X-PINGARUNER', 'pingpong');
This will allow you to do Cross Domain calls.
Cheers,
Rogerio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 |