Send messages outside of Roblox (JSON)

Alright, so it has come to my attention that from what I’ve researched Roblox currently doesn’t have a proper API, for outside 3rd party stuff.

If I’m not making myself clear, what I’m basically saying is that from what I know is that there isn’t a way to directly send messages from a Roblox game to lets say another block of code? Or basically messaging service, but just for outside of Roblox.

Roblox itself doesn’t have any API for this, from what (I know / researched)

I’ve seen people use Node.js for this but I’ve never been able to figure it out. Does anybody have a proper way to do this?

Basically, I want to send messages whitin a game to somewhere outside 
the roblox platform, using JSON Im not very good with this stuff so id  
like some help! If you want me to clarify anything LMK <3
1 Like

if you want to send messages from roblox to node

if ur in a web interpreter or something

const express = require("express")
const bodyParser = require('body-parser')

const myapp = express()
myapp.use(bodyParser.json()) // le body parser

myapp.post("/post", (request, result) => {
  console.log(request.body) // wat ever
  result.send("thanks")
})

myapp.listen(8080, () => console.log("my app is listening to port 8080"))

get ur express url and post it from roblox

local http = game:GetService("HttpService")

http:PostAsync("yo url", http:JSONEncode({
  name: "amogus red",
  description: "he's popular",
  sus_level: "too sus"
})) -- i forgot the http json encode function name
2 Likes

Thank you, i’ll try this out also update you if i get it to work !!