Workspace API [message #1263974] |
Tue, 04 March 2014 18:05  |
Eclipse User |
|
|
|
I downloaded Orion and have it running locally and I'm trying to work with the Workspace API from a node application.
I noticed that the API docs say that I need to add the Orion-Version header to my requests otherwise I'll get an HTML page back. I'm noticing that the server is redirecting my requests to a login page when I DON'T have the header. When I add the header to my request, I get a 401 error.
Also, the Transfer API docs say the header I need to add is Orion-Version, but in the workspace API docs, the examples there all have EclipseWeb-Version: 1.0 as the header.
I've tried adding both headers, but I still get the 401 error when they're there.
I've confirmed in browser window running a REST tool, that I can logon to Orion and execute the APIs without error - it's only in my node application that this isn't working. Something about my request is not right and I can't figure it out.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04971 seconds