Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2020-10-29 10:15:52

arpai
New member
Registered: 2020-10-20
Posts: 9

how to save API get method value

HI....
1) My 1st API is providing a token on get method. how can i store it for next use??
2) generated token from the 1st API,  i need to pass it to the next api authorization(bearer token).

please help,
thank you

Offline

#2 2020-10-29 10:17:21

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: how to save API get method value

See this sample. It saves response as additional chat variable and later uses it for futher request.

https://doc.livehelperchat.com/docs/bot … out-coding

Offline

#3 2020-11-03 09:48:54

arpai
New member
Registered: 2020-10-20
Posts: 9

Re: how to save API get method value

Any API get method samples for my above question please???

Offline

#4 2020-11-03 09:51:02

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: how to save API get method value

You can clearly see that I set chat variable in this response. Which I later reuse just.
https://doc.livehelperchat.com/docs/bot … ssage-send

Offline

#5 2020-11-03 10:06:27

arpai
New member
Registered: 2020-10-20
Posts: 9

Re: how to save API get method value

OK thank you

Offline

Board footer