cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: sending @ for form POST

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 4 Nov 2009 10:48:28 +0100 (CET)

On Mon, 2 Nov 2009, pal hello wrote:

> How do I send "@" url-encoded or otherwise through command line ?
>
> If I try the following:
> *curl -d "login_email=my%40mymail.com&password=abcd&submit=Log+In"
> localhost:8080/mylocation *
>
> then trace-ascii shows that somehow "%4" is eaten up.

That's probably because you are on windows and it eats single % letters? Try
writing two of them.

%40 is the correct way to encode a @ letter in url encoding.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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 2009-11-04

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET