Skip to main content
Question

Reading the data from an API

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

redgeographics
Celebrity
Forum|alt.badge.img+61

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.