cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl with spnego?

From: Christopher Stone <listmeister_at_thestoneforge.com>
Date: Sun, 19 Jun 2011 08:53:01 -0500

On Jun 19, 2011, at 08:08, Dmitry Chernozemchev wrote:
> Hello! I need to load data from this sitehttp://www.kakioka-jma.go.jp/cgi-bin/plot/plotSetNN.pl?lang=enit's create POST request to (Plot button) to show the image.
> ...
> I do not know how to load image. It's do not have any patterns in it's address.
______________________________________________________________________

Hey Dmitry,

The output page is very straightforward. There's only one 'img src' tag, although the image name shows up twice.

<IMG SRC='/tmpimg/Q5fcFCgCLC.png' ALT='graph image'><BR>

<INPUT TYPE='hidden' NAME='graphimg' VALUE='hvTCotA4xL.png'>

That out to be really easy to parse out.

I don't see offhand how to get the output page source with curl, so I'll be interested to learn how to do that.

> And the second problem, I do not know how I may to call curl with parametrs from PowerShell. Could you give me any examples?

Can't help you with that one.

--
Best Regards,
Chris
-------------------------------------------------------------------
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 2011-06-19