File path: dist/twist/Core/Utilities/Curl.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
get
— Make a GET request to the provided URL, set the User Agent header when required
Name | Description |
---|---|
$strURL | n/a |
[$arrRequestData = array()] | n/a |
[$arrHeaders = array()] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strURL = 'foo';
$arrRequestData = array();
$arrHeaders = array();
//Call the function get with the example vars
Twist::Curl() -> get($strURL, $arrRequestData, $arrHeaders);