cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl basics

From: Kjell Ericson <Kjell.Ericson_at_haxx.se>
Date: Wed, 12 Mar 2008 08:07:53 +0100 (CET)

On Wed, 12 Mar 2008, andrew holway wrote:

> Im doing something wrong with the cookies.
> http://pastebin.com/m2982255
> Could someone take a look pls?

---
andrew_at_andrew-laptop:~$ curl -L -d -b=jar 
"CityScreen&function=upgradeBuilding&id=60872&position=3&level=1" 
http://s2.ikariam.org/index.php
curl: (6) Couldn't resolve host 
'CityScreen&function=upgradeBuilding&id=60872&position=3&level=1'
---
Switch place of -d and -b=jar flags so you don't send "-b=jar" as data and 
give it a try.
  // Kjell
Received on 2008-03-12