GoldamassJoin Date: 2009-05-15 Post Count: 17450 |
I'm not sure if you guys already knew |
|
MettaurSpJoin Date: 2010-03-20 Post Count: 3179 |
Have any available documentations of it? The wiki doesn't seem to have an easy to find version, and the Object browser doesn't give explanations. |
|
GoldamassJoin Date: 2009-05-15 Post Count: 17450 |
Nope, I just know HttpGet(string url) returns a string with the page's source.
Theoretically someone could make a full browser with this. |
|
GoldamassJoin Date: 2009-05-15 Post Count: 17450 |
You also need to set HttpService.HttpEnabled to true, and you can only use it in a server. |
|
MettaurSpJoin Date: 2010-03-20 Post Count: 3179 |
Okay, and I found Anaminus' object browser, so hopefully that has something. Ima go to a game of mine to mess with it a bit. Thanks for the heads up. |
|
MettaurSpJoin Date: 2010-03-20 Post Count: 3179 |
Welp, my admin's sb command isn't exactly working with it. You sure it is unlocked again? |
|
SharksieJoin Date: 2009-10-10 Post Count: 30576 |
"trust check failed for C:/Users/Name/Desktop/test.txt"
Well there goes one dream :(
----
If it isn't working, make sure HttpService.HttpEnabled is set to true. |
|
TenalJoin Date: 2011-05-15 Post Count: 18684 |
I cannot believe my eyes
Is HttpService really unlocked? And is it what I think it is? |
|
AlyteJoin Date: 2011-10-24 Post Count: 10090 |
this is moi bweno eh |
|
ThePC8110Join Date: 2011-06-04 Post Count: 486 |
You can't enable HttpService through normal scripts. If we can't publish it to a place when enabled then it's impossible to enable it on a place. |
|
woot3Join Date: 2008-11-10 Post Count: 3599 |
I've managed to set it to true, messing with it at the moment.
I'll look into updating the wiki tonight, although somebody usually then updates over me, so it's all good. My updates are more so there is something rather than nothing.
JSONDecode(string input)
JSONEncode(string input)
UrlEncode(string input)
GetAsync(string url, bool nocache)
PostAsync(string url, string data, HttpContentType)
That's what is in object browser, which you call all see :P |
|
MettaurSpJoin Date: 2010-03-20 Post Count: 3179 |
Hai ThePC. :3 |
|
koen500Join Date: 2011-02-23 Post Count: 2277 |
What can you do with it? |
|
|
Currently? Nothing due to needing "beta access"
From what I've observed. |
|
koen500Join Date: 2011-02-23 Post Count: 2277 |
And what will we be able to do with it? |
|
|
Send GET and POST requests to any server. Meaning we can have a list of everyone who plays in a game, a separate DB for our information (instead of using ROBLOX's new awesome DP), signing users up on our personal websites, foruming in-game if you want.
while obamacare() do benefitMiddleClass() end --LuaWeaver |
|
digpoeJoin Date: 2008-11-02 Post Count: 9092 |
It's unlocked on gameservers, but you have to ask ROBLOX staf about it. |
|
|
Can someone give me a example?
I asked for help on script helpers before and they said what I wanted could be done with the Http service
How can I check if a username on ROBLOX is taken from a script?
If I need to use the command bar thats fine |
|
|
@ArceusInator
dofile (filename)
Opens the named file and executes its contents as a chunk. When called without arguments, dofile executes the contents of the standard input (stdin). Returns all values returned by the chunk. In case of errors, dofile propagates the error to its caller (that is, dofile does not run in protected mode).
--File name: Hello.lua
--File contents: print("Hello World!")
dofile("C:/Hello.lua")
Hello World! |
|
|
Lol get out vaktovian Idiot's |
|
digpoeJoin Date: 2008-11-02 Post Count: 9092 |
|
|
digpoeJoin Date: 2008-11-02 Post Count: 9092 |
for ease of access:
Class HttpService : Instance [notCreatable]
Property bool HttpService.HttpEnabled [LocalUserSecurity]
Function Dictionary HttpService:JSONDecode(string input)
Function string HttpService:JSONEncode(Dictionary input)
YieldFunction string HttpService:GetAsync(string url)
YieldFunction string HttpService:PostAsync(string url, string data, HttpContentType content_type = ApplicationJson) |
|
|
digpoe, y u no Object browser. |
|
digpoeJoin Date: 2008-11-02 Post Count: 9092 |
cuz
API dump is copy+pastable. |
|