I’m trying to get some informations of an environment, and I asked before the phone Number of the person in a chatbot, and after that I would like to use this phoneNumber inside of HTTP request, like that:
I’ve already tried this formats:
https://environment.net/tas/api/persons?query=phoneNumber==$(Topic.telefone)
https://environment.net/tas/api/persons?query=phoneNumber=={Topic.telefone}
https://environment.net/tas/api/persons?query=phoneNumber=={telefone}
https://environment.net/tas/api/persons?query=phoneNumber==$(telefone)
I don’t know if is it possible to use the variable in the http request, if I send the number phone without variable, it works.
Could someone help me?
Thanks
I would like to get the answer of the environment with a GET http request.
Fernando Banik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.