It's all about the answers!

Ask a question

RAM OSLC REST: Basic authentication not working with RAM.


Kangkan Goswami (1571421) | asked Jun 21 '12, 5:04 a.m.
I am trying to get the Services Catalog using the REST API with basic authentication. But it is not working.

I am sending a GET request to http://server:port/oslc/servicesCatalog and I do not get the complete catalog. What I get is a response for anonymous query. So, I feel the authentication is not happening.


If I use REST Client on Google Chrome after logging in from the same browser, I get the complete catalog including the communities. But if I log out and use the Authorize header and send a basic authentication, it is not working.

Can someone help me?

I am also writing c# code to do the same, but it is not working.

Accepted answer


permanent link
Rich Kulp (3.6k38) | answered Jun 22 '12, 10:23 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Answered in another post:

https://jazz.net/forum/questions/79494/ram-oslc-rest-how-to-do-form-based-authentication
Kangkan Goswami selected this answer as the correct answer

Comments
Kangkan Goswami commented Jun 22 '12, 10:48 a.m.

You made my day @RichardKulp!!

One other answer



permanent link
Gili Mendel (1.8k56) | answered Jul 13 '12, 11:20 a.m.
JAZZ DEVELOPER
Be great if you can post your c# code, when you get it to work,

Comments
Kangkan Goswami commented Jul 14 '12, 2:58 a.m.

I shall post it shortly!

Your answer


Register or to post your answer.