cURL / Mailing Lists / curl-users / Single Mail

curl-users

Remove or replace automatically created ampersand (&) as a separating symbol

From: Łukasz Wróbel <wrobel.lukasz_at_gmail.com>
Date: Mon, 9 Jan 2012 17:03:38 +0100

I have simple piece of code:
curl -v --get --data-urlencode "some data to encode" http://some/target/url=

Curl automatically constructs GET from "base" url and encoded data like this:
GET /target/url=&some%20data%20to%20encode

Insert ampersand (&) as a separating symbol between "base" url and encoded data.

How do I remove automatically created separate symbol (&) or possibly replace
it with another selected character?

/curl 7.23.1, libcurl 7.23.1/
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-09