File path: dist/twist/Core/Utilities/Curl.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
makePostRequest
— A method used but POST, PATCH and DELETE as they are all similar requests with a different method name
Name | Description |
---|---|
$strURL | n/a |
[$mxdRequestData = array()] | n/a |
[$arrHeaders = array()] | n/a |
[$strMethod = 'post'] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strURL = 'foo';
$mxdRequestData = array();
$arrHeaders = array();
$strMethod = 'post';
//Call the function makePostRequest with the example vars
Twist::Curl() -> makePostRequest($strURL, $mxdRequestData, $arrHeaders, $strMethod);