string|array
PEAR_REST::retrieveData
(
string
$url
,
array|false
$accept = false
,
bool
$forcestring = false
)
retrieve the contents of a remote resource.
full URL to this resource
contents of the accept-encoding header
if TRUE, xml will be returned as a string, otherwise, xml will be parsed using PEAR_XMLParser
throws PEAR_Error objects are returned on error.
This function can not be called statically.