• FEATURES
  • PRICING
  • MARKETPLACE
  • CASE STUDIES
  • BLOG
  • Java Rest API client login response code

    #1

    hello

    I wrote a basic java Rest API client to login into demo OS server at URI -
    https://demo.openspecimen.org/openspecimen/rest/ng/sessions.
    I am using my account details on the demo OS to login.
    I get response code 404. If I change ‘https’ to ‘http’ , I get response
    code 302.

    Can anyone please.
    Thank you
    Nitin Kanaskar

    #2

    Hello @ Nitin_Kanaskar,

    if I click on the link, I get the following message:
    Message The requested resource [**/openspecimen/openspecimen/**rest/ng/sessions] is not available
    There are two /openspecimen in the URI, if I type in

    https://demo.openspecimen.org/rest/ng/sessions,

    it worked for me.

    Hope it helps you!

    Best Regards
    Christian Schorn