Hello,

if I use in Lua  

resp = api:execute("curl", some_url)

where can I get the curl response code?

If I use session:execute("curl", some_url), the code will be in the curl_response_code session variable, but where can I get it if I use api:execute?