Forum Discussion

srinivaskiranp's avatar
7 years ago

Issue in getting the session key.

Hi, i try to use the below url to get the session key for querying Community API V1 calls in community through postman, but i am getting an error response as below.

Need inputs to resolve the  problem.

get request : http://community.lithium.com/restapi/vc/authentication/sessions/login?user.login=[USER NAME]&user.password=[PASSWORD]

error response :

<response status="error">
<error code="504">
<message>
Method &apos;get&apos; is not supported off of node &apos;authentication_manager.sessions.login&apos;.
</message>
</error>
</response>

  • srinivaskiranp
    Try to hit the same call in postman using post call. 

     See the difference between GET and POST call in postman app. 

    You can download the postman app here (not chrome extension)

     

     

  • srinivaskiranp
    Try to hit the same call in postman using post call. 

     See the difference between GET and POST call in postman app. 

    You can download the postman app here (not chrome extension)

     

     

    • VikasB

      As you suggested to use post request i am able to make calls through postman app, but Get is different from POST, so need to be careful in making post calls. 

      My question is why GET request is not working ?

      thanks

      srinivas kiran.p