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: HttpService help

Previous Thread :: Next Thread 
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
22 Apr 2015 01:29 PM
I'm using this php script by Voiliax:

pastebin.com/BtBReX4k

It's supposed to automatically update an asset when you give it XML data, then return the ID of that asset. I have no idea how XML works and I haven't been able to it working.

Assuming this php script is fully functional on the web server, how would I properly make a request from ROBLOX Lua?
Report Abuse
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
22 Apr 2015 01:35 PM
Bump
Report Abuse
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
22 Apr 2015 01:52 PM
b
Report Abuse
gskw is not online. gskw
Joined: 05 Jan 2013
Total Posts: 1364
22 Apr 2015 02:01 PM
You want to post your XML data as the POST body (not URL encoded or anything)
To understand XML, save one of your places as .rbxlx and study the format. It's pretty straightforward.

This is a signature. Recommended username: FabulousGskw
Report Abuse
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
22 Apr 2015 02:02 PM
^ will do, thanks
Report Abuse
NotAshley is not online. NotAshley
Joined: 16 Jan 2014
Total Posts: 14257
22 Apr 2015 02:27 PM
I looked into ROBLOX XML and put some in a literal string. The server is still giving the invalid id/data thing. Where do I put the ID?

I'm putting it at the end of the link, like this:

URL?id=idHere
Report Abuse
gskw is not online. gskw
Joined: 05 Jan 2013
Total Posts: 1364
23 Apr 2015 12:15 AM
Totally missed that, but yea, that works. If you want it to create a new asset, make the ID 0.

This is a signature. Recommended username: DecorousGskw
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