How to send a HTTP POST Request in Delphi using WinInet api

I got all the url/filename part messed up with the previous code. I’m using this from Jeff DeVore now and it’s working fine: function request(const AUrl, AData: AnsiString; blnSSL: Boolean = True): AnsiString; var aBuffer : Array[0..4096] of Char; Header : TStringStream; BufStream : TMemoryStream; sMethod : AnsiString; BytesRead : Cardinal; pSession : HINTERNET; pConnection … Read more