Skip to main content
Question

Reading the data from an API

  • February 26, 2018
  • 1 reply
  • 5 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

redgeographics
Celebrity
Forum|alt.badge.img+49

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings