> I'm trying to port some Indy code to synapse and am having trouble with
> basic http authentication.  In Indy, with the http component, you can set
> 'Basic Authentication' to true, a uid, and a pw and the component
> automatically logs you into a page with basic authentication enabled.
> 
> I tried to do this with httpsend by adding a header with encoded 'uid:pw'
> but can't get it to work.  Anyone know how to do this with synapse?

Two possible ways:

- Set username and password properties
- put username and password inside URL


--
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP 
Library



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to