cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Curl syntax question

From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Fri, 20 Apr 2001 08:10:30 -0400

If I understand the question correctly, that you want to post one
variable, named "arglist", with a value of "arg1=1&arg2=2", then you'd
need to URLencode all of the special characters in the value.

= is %3D
& is %26

so you really need "arglist=arg1%3D1%26arg2%3D2"

--Kevin

> -----Original Message-----
> From: Ben Ward [mailto:bward_at_japanregistry.com]

> Problem is that the "arglist=arg1=1&arg2=2" doesn't work.
>
> I need to evaluate the above statement as one string.
> Is there a substitute for & . Or perhaps a way of flagging
> it.
Received on 2001-04-20