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 » Scripting Helpers
Home Search
 

Re: Could anyone help me understand HTTPService.

Previous Thread :: Next Thread 
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 07:09 PM
I have a clear website and I'm wanting to know if anyone could help me understand this, I've put the effort to look it up on the Wiki and none of it made any sense. :\
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 08:08 PM
I'm all out of love.. I'm so BUMPed without you...
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
21 Jan 2014 08:15 PM
Which part do you not understand? I'm reading this: http://wiki.roblox.com/index.php/Sending_HTTP_requests and I get everything so far. o:
Report Abuse
secretidagent is not online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
21 Jan 2014 08:17 PM
He probably doesnt know how to get a server to send requests to and get information back. All the servers cost money, I dont know any free ones. I am trying to get one myself.
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 08:28 PM
I have a server already, Simply stating I'm getting errors sending the code. :|
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
21 Jan 2014 08:29 PM
" All the servers cost money, I dont know any free ones. I am trying to get one myself."
You're kidding? There are like hundreds of free service that even provide databases and 24/7 uptime
Report Abuse
secretidagent is not online. secretidagent
Joined: 07 Nov 2010
Total Posts: 1600
21 Jan 2014 08:32 PM
@cnt

Know any? I have been trying to get one for roblox.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
21 Jan 2014 08:34 PM
I know a lot, all you have to do is google:
"Free webhosting with databases and php support" or something like that.

zymic DOT com is one I used to use
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
21 Jan 2014 08:41 PM
Rocket can you be more specific about these errors?
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:16 PM
I'm using these codes, not together of course but separately.

hs = game:GetService("HttpService")
myTableJSON = hs:GetAsync("MY CLEAR SITES URL THAT IM NOT POSTING", true)
myTable = hs:JSONDecode(myTableJSON)
m = Instance.new("Message",Workspace)
m.Text= MyTable[1]


myTable = {"This is a test"}
hs = game:GetService("HttpService")
myTableJSON = hs:JSONEncode(myTable)
hs:PostAsync("MY CLEAR SITES URL THAT IM NOT POSTING", myTableJSON)

Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:17 PM
My Remote Error Monitor is returning "Cannot Parse" Not sure what that means. :\
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:18 PM
Also, 000webhost is a good one I think.
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
21 Jan 2014 09:18 PM
What is your problem? Do you no know how to retrieve requests on the server?
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
21 Jan 2014 09:19 PM
I use 000webhost....
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:22 PM
Perhaps I don't I'm sorry I'm not a bad scripter I'm simply new to HTTPService :| And I'm not understanding the Wiki that well on this subject. :\ I have clear page open for this It's simply holding basic HTML
Doesn't contain a body or anything simply a title.
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:27 PM
Would this work?

Chat = "Chat test"
Serve = game:GetService("HttpService")
Jso = Serve:JSONEncode(Chat)
hs:PostAsync("http://bojat.net16.net/There.html", Jso)

Perhaps?
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:27 PM
Oops sorry for the Link -_-...o.e Please don't report that -_-... :|
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
21 Jan 2014 09:27 PM
pastebin.com/5hSp9UXr

Roblox forums won't let me post this...
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:29 PM
I'll try that out, I'm sorry for this I'm really trying to get this. :\
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
21 Jan 2014 09:30 PM
Your problem is that you have no serversided code to recieve the data you are posting. You need to have something to receive it. Whether that is PHP or another language.
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:31 PM
I'll try using PHP. Thanks man :)
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:37 PM
@not I tried adding you code and I'm receiving error from the page. It's telling me there is an error..If you look at the bin the error is apparently located on line 13 of the bin (I didn't paste the whole bin but the errors located on that line of that code)
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
21 Jan 2014 09:44 PM
I forgot the semicolon :P

http://pastebin.com/5rMUzeyc
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:47 PM
Oh xP
Report Abuse
Rocketerkid is not online. Rocketerkid
Joined: 10 Oct 2011
Total Posts: 1237
21 Jan 2014 09:53 PM
The Roblox side script is returning an error, I'm simply not seeing it. (I'm really failing at HTTPService, Thank you so much for helping)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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