HTTP requests & webhooks: PerformHttpRequest
Talking to the outside world, Discord, your panel API, a license-check service, means HTTP. CFX gives you exactly one native for it: PerformHttpRequest. It is callback-based, so the response arrives later, not on the same line. It will surprise you with rate limits. And JSON bodies must be built by hand. This lesson teaches the pattern that scales from a single ban-log to a 50-server fleet.
Build it
Make the resource folder
Inside your server's resources folder, create this folder:
resources/qu_http_webhooks