cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: Trouble shooting: Using curl.exe on commandline give weird error

From: Nguyen Khanh An <gunyhake_at_gmail.com>
Date: Mon, 3 Aug 2009 05:21:01 +0800

Hi all,

I found out the reason. I needed to place the whole url in double quotes

D:\>curl.exe "http://localhost/playmo/version.json?apikey=111&imei=222<http://localhost/playmo/version.json?apikey=111&imei=222>
"

The above command should work :)

On Mon, Aug 3, 2009 at 5:03 AM, gunyhake <gunyhake_at_gmail.com> wrote:

>
> Hi all,
>
> Not sure if you all can help me here. I make a command to the local
> webserver using curl.exe
>
> D:\>curl.exe http://localhost/playmo/version.json?apikey=111&imei=222
> {"error":{"code":106,"message":"Invalid IMEI number"}}
> 'imei' is not recognized a
> s an internal or external command,
> operable program or batch file.
>
> I am not sure why my variable in query string 'imei' is not recognized
> as querystring, instead it is consider as batch file or executable
> file here.
>
> Where did I do wrong here?
>
> Thanx for all your help
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "curlpp-devel" group.
To post to this group, send email to curlpp-devel_at_googlegroups.com
To unsubscribe from this group, send email to curlpp-devel+unsubscribe_at_googlegroups.com
For more options, visit this group at http://groups.google.com/group/curlpp-devel?hl=en
-~----------~----~----~----~------~----~------~--~---
Received on 2009-08-02

These mail archives are generated by hypermail.

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

File upload with ASP.NET