Get Method

Fetches the document using the HTTP GET method.

Object Oriented Interface

public function doGet($url);

Procedural Interface

ipworks_rest_do_get($res, $url);

Remarks

This method fetches the document using the HTTP GET method. The document contents are delivered to the component and parsed. The XPath, XElement, XText, etc. or the TransferredData property can then be used to traverse the data. The HTTP response headers are returned through the Header event. If LocalFile is not empty the data (not the headers) is written there as well.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]