cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: adding a string in POST?

From: Michael Wood <esiotrot_at_gmail.com>
Date: Fri, 20 Aug 2010 09:20:29 +0200

On 19 August 2010 08:49, Rajanikanth <rnamburi_at_cisco.com> wrote:
> Hi,
>
> How to add strings in "POST / HTTP/1.1\r\n".
>
> Actually I want to add ‘client name’ in between ‘/’ & “HTTP”.

Just set CURLOPT_URL to "http://yourserver/client%20name" instead of
"http://yourserver".

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-20