This object is server-side only! You should use a Script
instead of a LocalScript
when using it.
While this class technically inherits all Instance
class members, some (if not all) have been hidden because they serve no purpose for this object.
This class is a service. It is a top-level singleton which can be obtained with the GetService
This object cannot be created with Instance.new
HttpService : Instance
Note:This service is not allowed to send requests to any of the Roblox websites such as www.roblox.com or api.roblox.com.
This service allows HTTP requests to be sent from game servers. 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.
If the limit of 500 requests per minute is exceeded, the Service will stall entirely for approximately 30 seconds.
HttpService starts off as disabled by default. HttpService can be enabled through the the Game Settings
button in Studio.
- Cross server marketplace
- Real time stock market
- Cross server leaderboard
- Limit of 500 requests a minute (Per server)
- Cannot send HTTP requests to the Roblox website
Enables requests to external websites.
stringUrlEncode ( string input )
Returns a string with all unsafe ASCII characters replaced by a '%' followed by two hexadecimal values.