How can I perform a POST request with Lazarus?
I found that it is possible to do using Indy for Lazarus, but the installation of Indy itself is a bit of a hassle, having to recompile and all. Is there another way?
Of course you can use other library like Synapse. There is httpsend
unit with functions like HttpPostURL()
, it also supports SSL/TLS. I used this library with both Delphi and FPC.
If you do not need to use SSL/TLS, proxy or other more complicated things then it is not very complicated to create your own HTTP simple client based on socket and many HTTP tutorials.