Reputation: 3628
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
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