generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: So... HttpService.

Previous Thread :: Next Thread 
iceblade112 is not online. iceblade112
Joined: 11 Apr 2009
Total Posts: 432
20 Dec 2013 08:32 PM
How does it work? How do I use the returned/decoded JSON data from my URL?
Or is that not what it's for? :c

(if it is, time to make blocks/maps loaded by HttpService!)
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
20 Dec 2013 10:46 PM
I'm actually curious to know this too.
I've never worked with HTML or web stuff, so I don't know how all of it works and how I could make use of it :P
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
20 Dec 2013 10:51 PM
GetAsync just does a GET request (or if you don't know, you have probably seen something like: website.blah/?key=value&key2=value

Post does a POST
Report Abuse
Basswobble is not online. Basswobble
Joined: 18 Jul 2011
Total Posts: 3249
20 Dec 2013 10:54 PM
You need to have a website that runs a server-sided code that displays your JSON string on the page (echo in PHP)

GetAsync would return this test to your game.

PostAsync would send data from the game to the server and will get saved/processed.

~ Like a Bass ~
Report Abuse
Articulating is not online. Articulating
Joined: 12 Nov 2011
Total Posts: 708
20 Dec 2013 11:08 PM
http://www.roblox.com/PlaceItem.aspx?id=138868040&seoname=HttpTesting
Uses only HttpGet
Report Abuse
julienmauriemort is not online. julienmauriemort
Joined: 09 May 2009
Total Posts: 21560
21 Dec 2013 08:06 AM
Wait, you can use domains other than roblox? Now we could make a game wide and place backups, among other things.
Report Abuse
Articulating is not online. Articulating
Joined: 12 Nov 2011
Total Posts: 708
21 Dec 2013 08:07 AM
You can ONLY use domains other than roblox.
Lol.
Report Abuse
julienmauriemort is not online. julienmauriemort
Joined: 09 May 2009
Total Posts: 21560
21 Dec 2013 08:08 AM
http://wiki.roblox.com/index.php/RBX.lua.HttpService_(Object)

"This service allows for a user to send HTTP requests from a game server. This enables users to create integration with a wide range of third party services such as analytics and storage. One exciting prospect for this service is that if you run and manage your own website, and communicate with it from ROBLOX, it opens the possibility of remote server management and real time communication with the server, through your site."

YYEAAAAAHHH
Report Abuse
iceblade112 is not online. iceblade112
Joined: 11 Apr 2009
Total Posts: 432
29 Dec 2013 10:41 PM
I understand. I'm still looking for a "simple English" explanation on how the two JSON functions work. Is it possible to do a "for" loop for every array there is? (i.e. remote block loading)
Report Abuse
NVI is not online. NVI
Joined: 11 Jan 2009
Total Posts: 4744
30 Dec 2013 01:32 AM
This is pretty cool. Makes me want to make a place again. You could do pretty much anything, even loading models. Really opens up a lot of possibilities.

An interesting use would be a really good ban list. Or loading dynamic content without updating the place itself. You could have more complex group stuff.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image