For who’s wondering: OP wants to send requests to Roblox game servers
Short answer: you can’t
Detailed answer: roblox does not allow listening for external requests so you will need to use what is called “long polling”, basically the data you would send from your server to Roblox must be kept until a request is sent from a roblox server to get it. This means that you will need to constantly query your api with a loop (add a decent debounce if you don’t want to ddoss yourself) and request the data to the endpoint which sends it.
An example:
Your web server wants to send some data to Roblox, you can’t so do the following:
- hold the data
- send a request from roblox to get the data
- make your web server send the data
- (tip) remove the data from the web server to not take up too much space and resources
- repeat the process
Result: long polling