Can Roblox recieve http requests?

Hello!

I made a plugin for myself that lets me send updates and messages to a discord server with friends.

I want to make a seperate window that lets me see what my friends are saying while i’m working on my game

Is it possible to send HTTP requests to Roblox?

I know you can send them from roblox.

The best method for sending data to roblox servers used to be using an external database that roblox reads but now with the new datastore API and API keys you can write directly to an experience’s datastores and that experience can get the data relatively quickly.

1 Like

could i do that through a plugin though

what i mean is that i want to make a plug in window that shows messages from my discord server

You can do this from any server script. You will need a backend no matter how you do this to get the discord message. I would recommend making a discord bot and once you can make it repeat users messages, look into the roblox datastore API: Ordered Data Stores (Beta) | Documentation - Roblox Creator Hub. Your discord bot will need the universe ID to write to its datastores. You can then use a key such as “Messages” and store an array.

You will need a backend server to get the messages from discord. I would recommend hosting it on glitch: https://glitch.com/. You can update a roblox datastore with an API key. On roblox, check that datastore around every 10 seconds. Format and display the list of messages in your plugin.