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

You are not logged in.

Announcement

#1 2020-06-01 19:02:08

Mairlo Luz
Member
Registered: 2020-04-06
Posts: 42

Status code return into variable?

Is it possible to save status code returned by rest api into a variable to use further?

Offline

#2 2020-06-01 19:10:40

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

Re: Status code return into variable?

See this article and pay attention to uuid part where I set it as chat variable. It should be something similar for you.

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

Offline

#3 2020-06-02 15:48:09

Mairlo Luz
Member
Registered: 2020-04-06
Posts: 42

Re: Status code return into variable?

Thank you remdex, but maybe I wasn´t clear about what I was looking for.

I wanted a variable that stores the status code returned by my rest api call. I found it into your source code: {http_code}.

Thanks!

Offline

Board footer