I used following REST API to get the session token:
http://host:port/rest-service/auth-v1/login?userName=<value>&password=<password>
It gives me the following error:
The requested resource cannot be found.
Remote API is disabled
You are running release CR2.7.11 FE2.7.11 (20120227023831 2012-02-27), please report your release number when reporting bugs.
Can anyone help me to sort this out.
Dear @Hijas Ahmed,
If you plan to use the API, you will not need any session specific parts. REST as the name says is 'stateless'. So no login is required. Just use basic authentication.
In the upper message the REST interface is disabled. If you like to use it, ask your admin to enable it.
Hope I helped you - if not dare to ask on.
Thomas
Dear @Hijas Ahmed,
you didn't came back - have you meanwhile solved you issue? Do you need more information?
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.