File path: dist/twist/Core/Utilities/Curl.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
put
— Make a PUT request to the provided URL, set the User Agent header when required, put request can contain get parameters and file data should be passed in
Name | Description |
---|---|
$strURL | n/a |
$strRawData | 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';
$strRawData = 'foo';
$arrRequestData = array();
$arrHeaders = array();
//Call the function put with the example vars
Twist::Curl() -> put($strURL, $strRawData, $arrRequestData, $arrHeaders);