Hidden
Hidden

Reputation: 3628

How to enable cookies using the ararat.cz Synapse library?

Im trying to post 2 params to github with the synapse lib but it's saying from my log.txt (The Server Response)

Cookies must be enabled to use Github

So my question is, how to enable cookies using the synapse library?

Upvotes: 1

Views: 790

Answers (1)

RBA
RBA

Reputation: 12584

you need to use THTTPSend.Cookies. From another StackOverflow question - How to download a file in a password-protected location in Delphi 2007

"THTTPSend has a property .Cookies (TStringList) which takes name-value pairs (each one being a cookie)."

Upvotes: 1

Related Questions