Adding a curl library?

Hello guys, i need to use cURL for an API but i don’t really know if we can with CFX

I’m thinking that i can add a external library, but how to ?

I think i need this one : GitHub - Lua-cURL/Lua-cURLv3: Lua binding to libcurl

Thanks for reading.

1 Like

You don’t need curl bindings, there is already a built-in function to send http requests

https://docs.fivem.net/docs/scripting-reference/runtimes/lua/functions/PerformHttpRequest/