Lasso Soft Inc. > Home

[ curl->statusCode ]

Method

[curl->statuscode] returns the last statuscode received after performing a curl operation.

  • Syntax
curl->statuscode
Examples
  • Beginner

Return the status code of the current curl action

Code

local(c = curl('http://www.google.com/'))
local(result = #c->result)
#c->statuscode

Result

302

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft