Retrieve information from CURL call

(Claudio Pelosi) #1

Through a call like this I run scripts on the server as needed:

Now I would like to retrieve information from the file I run “invemail.php” and use it to do something …

How can I get them?

(Claudio Pelosi) #2

I’m finding information but a clear example would be great
I believe this is the way:

(Lorne Gaetz) #3

I don’t understand the question, but if you want to control call flow based on the result returned from a curl, you can use Dynamic Routes for that.

(Claudio Pelosi) #4

It’s simple just use:
(CURL_RESULT = $ {CURL (http: //localhost/ergotel/nometest.php)})

Everything comes in the variable: $ {CURL_RESULT}

(system) closed #5

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.