Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

ROBLOX Communication with Web Servers Help?

Basically, I want ROBLOX to check each player when they enter with an API dump of sorts on my web server. Basically a dumbed down RAE but personal. I'm NOT asking anyone to do it for me, just your ideas/suggestions on how to most efficiently do it.

2 comments

0

Are you asking for the ROBLOX side of it, or the API design, or how to program it on the server?

0

Honestly, both. :/ I don't want anyone to do it for me, just suggestions.

1 answer

I have no clue what RAE stands for but here is a code snippet for you to work with.

<?php
//--Read the Input with PHP
$Input =  json_decode(file_get_contents('php://input'))->message);
?>

--Sending the some data
local t = {message='Hello, World!'}
local HttpService = Game:GetService'HttpService'
HttpService:PostAsync('URL', HttpService:JSONEncode( t ))

This discussion is preserved as it was. New answers, comments, and votes are closed.