🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2465

Http and cookies

#2465
From: Eduardo Jauch
Date: Tue, 20 Feb 2007 15:15
16 lines
1438 bytes
Hi!

I do an application that navigates an html page using TCppWebBrowser.
Than I do an that uses WinHTTP component to do the same, but without the 
"visual", that I don't need anyway.

Now I'd like to do the same, but using the windows api...

I'd like to know what functions I must use do retrieve an HTML page from 
an URL (and the "cookies" that came with him) and how to post (via post 
or get) to this same URL (sending the cookies)...

Can anyone show me a simple code or tell me where to find an exemple or 
some information to do this?

Thanks! :)
Technical Details
Message-ID: <45db1057@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!64.192.187.27!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9602e56713ea637a,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 20 Feb 2007 13:15:07 -0200
From: Eduardo Jauch <eduardo.jauch@gmail.com>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Http and cookies
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 201.89.78.51
Message-ID: <45db1057@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1171984471 201.89.78.51 (20 Feb 2007 07:14:31 -0800)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!64.192.187.27!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail