cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to add value to the base URL

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 13 Dec 2006 15:40:36 -0800

On Wed, Dec 13, 2006 at 04:20:59PM -0600, Manju Dash wrote:
> Hi ,
> I am developing an application where I have to append the the value with the
> base URL
> for example if I want to send the URL as
> https://mail.google.com/mail/?auth=DQAAAH/&?l=d&f=m&n=
> where the base URL is : https://mail.google.com
> so is there a function in curl library that I can use to add the extra value/
> parameter to the base URL.?
> Please let me know

You could adapt the curl command-line tool's code for handling this in
src/main.c. Look at the code around httpgetfields.

>>> Dan
Received on 2006-12-14