JOpenstreetmapObject::sendRequest
Method to send the request which does not require authentication.
Signature
public function sendRequest(string
$path,
[string
$method = 'GET',
[array
$headers = '',
[string
$data = '']]] )
Parameters
-
$path
- The path of the request to make
-
$method
- The request method.
-
$headers
- The headers passed in the request.
-
$data
- Either an associative array or a string to be sent with the post request.
Returns
- SimpleXMLElement
- The XML response