cURL / Mailing Lists / curl-library / Single Mail


Re: http post request with authentication

From: Ralph Mitchell <>
Date: Wed, 25 May 2016 15:13:15 -0400

On Mon, May 23, 2016 at 5:00 PM, Michael Pfeffer via curl-library <> wrote:

> At first i´m a newbie in using libcurl. I must login via http post
> (libcurl) to and collect images. I use the
> POSTFIELDS data to set search criteria but it doesnt seem to work. How can
> i select a option? How can i select a inputfield without name?
> I even don't know if i ask the right questions. I used some other sides
> with get request, it worked fine.
> curl_easy_setopt(curl,CURLOPT_URL,"");
> curl_easy_setopt(curl,CURLOPT_USERPWD,"login:password");
> curl_easy_setopt(curl,CURLOPT_POSTFIELDS,"typeAddress=WRS1&pathAddress=3$rowAddress=3");

Is that really supposed to be "$rowAddress=3" instead of "&rowAddress=3"

Ralph Mitchell

List admin:
Received on 2016-05-25