UTILITY

http_put()

Perform a PUT request with cURL.

Signature

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

Example

$r = http_put($url, ['name'=>'Ada']);

Extension: curl

Available from: 1.5.0

Reference navigation

Previous: http_post()

Next: index()

Back to utilities