We want call text api in async lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Packs · 2023-02-01 09:45 How to call rest api async in Lazarus. Delphi I think it support task ---------------------------------------------------------------------- Warfley · 2023-02-02 10:25 TTask in Delphi is basically just a Thread in Disguise. There is no real async Tasking (as you might know it from other languages like C#, Javascript, Python and co.) in Delphi. So from this point of view, you can simply use TThread to make your request be executed in parallel and react to it finishing ---------------------------------------------------------------------- Thaddy · 2023-02-02 10:38 https://wiki.freepascal.org/Asynchronous_Calls But in trunk/main you can use an anonymous procedure call using TThread. Both methods are somewhat equivalent to TTask (which is easy to implement with both options). ---------------------------------------------------------------------- Packs · 2023-02-12 06:21 Thanks. I have implemented in http calls , it is working .