[Lua] Need help with HTTP requests
Avatar

Hello! I’m a new user of this forum. I’d like to have some fun with PD2, so I tried making scripts using the modding API, and I’ve got a few questions:
1. How can I make HTTP requests to a site with arguments, like:func_for_request(method, "google.com", args)to send a request and get the site’s response?
2. If such a method exists, is it a blocking request, or is it already asynchronous?
3. Are there any restrictions on requiring external libraries for their use?
Thank you for your attention and any replies! Although I have experience working with Lua and APIs for other games, I’ve noticed that PD2 modding has a greater focus on a modular-object structure, which looks very nice and well-organized

BeardLibSuperBLT
Replies
Avatar

Questions 1-2 are no longer relevant, the answers have been found, but I am still interested in finding out about 3

12 254