Altering Content-Type with CURL
| From: | Monty | Date: | Thu, 22 Apr 2004 06:52:37 +0000 |
| Subject: | Altering Content-Type with CURL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-184187@lists.php.net to get a copy of this message | ||
I need the Content-Type header for a CURL POST to be this:
Content-Type: text/comma-separated-values
instead of the default "application/x-www-form-urlencoded" that is set by
the CURLOPT_POST parameter set with curl_setopt(). How is this done?
Monty