Question

Reading the data from an API

  • 26 February 2018
  • 1 reply
  • 2 views

Hi,

I am trying to pull the data form an API that first need to get the JESSIONID by using the login server (post request like this https://url/api/login?email=MYUSERNAME&password;=MYPASSWORD). Then the JESSIONID cookie value is session ID that need to be included in header as a value of COOKIE in further request to obtain the data (for example https://url/api/v1?objectType=assets&action;=load&accountFilter;=MYACCOUNTID).

Any idea to achieve this will be highly appreciated.

Himal


1 reply

Userlevel 5
Badge +25

I'm not too certain about sending the password in the request, that won't be encrypted as far as I can tell and would thus be a security risk. Is there no other way to get authentication from this API? The HTTPCaller does support various authentication options (including "basic" which is just username/password but done with encryption), I would try working with those first.

Reply