UTILITY

http_patch()

Perform a PATCH request with cURL.

Signature

array http_patch(string $url, mixed $body = null, array $options = [])

Example

$r = http_patch($url, ['active'=>true]);

Extension: curl

Available from: 1.5.0

Reference navigation

Previous: http_get()

Next: http_post()

Back to utilities