how do I authenticate to a Jazz server using pure Javascript?
I am trying to authenticate to the Jazz server using pure Javascript. I am supposed to be able to do a GET on
This works fine in Ff plugin Poster - if I provide a dummy user-agent header. However, in the JS code I am writing (using dojo.xhrGet), I am getting a 400 - bad request, mostly because the heager is saying Chrome, with a response HTML stating -
The problem I have hit is - I am unable to override the user-agent header in teh dojo.xhrGet since it s a protected header and you get a
|
One answer
I don't think it's related to User-Agent. Most likely some session IDs (cookies), such as JSESSIONID, are missing.
|