|
| 09 Nov 2014 01:49 PM |
How would I use them in my website? Lets say I wanted to get the role set of a group..?? |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2014 01:59 PM |
| I don't know, but you would need to know how to use JavaScript or something that can send and receive requests. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2014 02:10 PM |
| is javascript allowed through x10hosting? |
|
|
| Report Abuse |
|
|
Plutonem
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 1106 |
|
|
| 09 Nov 2014 02:10 PM |
| Read more tutorials. You'll find out when you'll be at that level you know ;) |
|
|
| Report Abuse |
|
|
Plutonem
|
  |
| Joined: 23 Aug 2009 |
| Total Posts: 1106 |
|
|
| 09 Nov 2014 02:12 PM |
| Obviously JavaScript is on every hosting server. If you don't have JavaScript, change of hosting because that is 1992 hosting. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2014 02:14 PM |
| oh, e.e well gotta read tutorials |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Nov 2014 03:28 PM |
'Obviously JavaScript is on every hosting server. If you don't have JavaScript, change of hosting because that is 1992 hosting.' That's not true, JavaScript is client-side. The hosting server basically has no control if you can edit the source of your pages freely. |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2014 03:36 PM |
Wait, How would I get information like group rolesets using PHP from my website? |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Nov 2014 03:41 PM |
| Send a request to 'http://www.roblox.com/api/groups/GROUP ID/RoleSets/' and return to sender |
|
|
| Report Abuse |
|
|
TheOsiris
|
  |
| Joined: 30 May 2010 |
| Total Posts: 4534 |
|
|
| 09 Nov 2014 03:42 PM |
...and....
local site = "http://website.php" local data = { ['user']='pudinrox', ['secretkey']='secretkeytheyentered', ['isa']='0', ['type']='0', ['firsttime']='1', ['dis']='0', ['test']='Works!', ['test2']='Works!' } local serv = game:GetService("HttpService") local timeout = 50 local waited = 0 local data = serv:JSONEncode(data) local out = serv:PostAsync(site,data) local stop = false repeat wait(0.1) waited = waited+1 if waited >= timeout then stop = true end until out or stop local m = Instance.new("Hint",workspace) m.Name = "Remote Call Responce" m.Text = tostring(out) print(tostring(out)) game:service("Debris"):AddItem(m,4) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Nov 2014 03:43 PM |
| That helps in no way. Leave |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2014 03:44 PM |
^^ im talking about externally and
@cntkill I couldn't find a tutorial online for php, how would I send one in php? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Nov 2014 03:45 PM |
| php DOT net/manual/en/function.http-get.php |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2014 03:49 PM |
curl_setopt($handle, CURLOPT_URL, 'http://www.roblox.com/api/groups/1/RoleSets/'); curl_setopt($handle, CURL_POST, true); |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2014 03:54 PM |
$handle = curl_init();
curl_setopt_array( $handle, array( CURLOPT_URL => 'http://www.roblox.com/api', CURLOPT_POST => true, CURLOPT_POSTFIELDS => '/groups/1/RoleSets/', ) );
thats my new one |
|
|
| Report Abuse |
|
|
|
| 09 Nov 2014 03:59 PM |
http verb used to access this page is not allowed"
My host said this e.e |
|
|
| Report Abuse |
|
|
| |
|