Lasso Soft Inc. > Home

[ curl->result ]

Method

[curl->result] returns the body data recevied from a curl operation. The data is returned as [bytes]

  • Syntax
curl->result
Examples
  • Beginner

To obtain the document source for a HTTP URL

Code

curl('http://www.google.com/')->result

Result

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.se/">here</A>.
</BODY></HTML>

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 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft