Instead of using CURLOPT_PUT = TRUE
use CURLOPT_CUSTOMREQUEST = 'PUT'
and CURLOPT_CUSTOMREQUEST = 'DELETE'
then just set values with CURLOPT_POSTFIELDS
.
More Related Contents:
- PHP multipart form data PUT request?
- How do I make a request using HTTP basic authentication with PHP curl?
- How to POST JSON Data With PHP cURL?
- Getting HTTP code in PHP using curl
- PHP cURL HTTP PUT
- PHP cURL how to add the User Agent value OR overcome the Servers blocking cURL requests?
- Get “Content-Type” header of request in PHP
- What is the postman-token header attribute in generated code from Postman?
- Why would one omit the close tag?
- How should I choose an authentication library for CodeIgniter? [closed]
- Passing $_POST values with cURL
- base_url() function not working in codeigniter
- How to load a controller from another controller in codeigniter?
- Return a PHP page as an image
- Curl error 60, SSL certificate issue: self signed certificate in certificate chain
- Paypal Access – SSL certificate: unable to get local issuer certificate
- Codeigniter displays a blank page instead of error messages
- file_get_contents() give me 403 Forbidden
- How to integrate WordPress template with CodeIgniter
- Namespace in PHP CodeIgniter Framework
- Bad Request. Connecting to sites via curl on host and system
- Codeigniter Sessions not working after migration
- cURL error 60: SSL certificate in Laravel 5.4
- PHP cURL HTTP CODE return 0
- Codeigniter: Best way to structure partial views
- Uncompress a gzip file from CURL, on php
- How do I loop through JSON array
- $_POST empty on utf-8 characters
- FTP upload file to distant server with CURL and PHP uploads a blank file
- Routes in Codeigniter – Automatically