Skip to main content
Solved

How do I set up HTTPCaller to get a token using curl

  • August 23, 2023
  • 1 reply
  • 137 views

Forum|alt.badge.img

here's the curl:

curl --request POST \\

   --url https://api.assetpanda.com/v3/session/token \\

   --header 'accept: application/json' \\

   --header 'content-type: application/json' \\

   --data '

{

 "email": "username@company.com",

 "password": "pASSWORD123"

}

'

Best answer by daveatsafe

Hi @eric.collins​,

I think the following settings should work:

Screen Shot 2023-08-23 at 3.41.44 PMYou can use a JSONFlattener to extract the authorization info from the response, if needed.

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

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • Best Answer
  • August 23, 2023

Hi @eric.collins​,

I think the following settings should work:

Screen Shot 2023-08-23 at 3.41.44 PMYou can use a JSONFlattener to extract the authorization info from the response, if needed.