in reply to Rest API testing with perl

I can spot the a problem right now ... you cannot predefine the session-id. You must follow the protocol to obtain one from the host.

Replies are listed 'Best First'.
Re^2: Rest API testing with perl
by madhurivepa (Novice) on May 12, 2014 at 03:33 UTC
    I am still struck. I am changing the session id while passing it.

      Hmm, session-id is something you get, its not something you change ...

      Hello Mr. Lanlord, thanks for these keys to my new apartment ... I'll change these keys now ... my session-id keys that I changed won't open my apartment, whats wrong?

        I meant the same ... I am getting the session-id... In this sample code I am updating it...

        I meant the same..I am getting session-id..In the code where I have initialized it.... I am updating it with the latest id...once integrated I don't have to specify it