This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
TheJebForge's profile picture

HTTP Post help please

Started by TheJebForge, 03 February 2015 - 11:25 AM
TheJebForge #1
Posted 03 February 2015 - 12:25 PM
I'm trying to make the app store and I want to allow the user to register in-app or post an app. How do I can do that?
(how to use http.post)
Which hosting site you can give me?
Edited on 03 February 2015 - 11:29 AM
InDieTasten #2
Posted 03 February 2015 - 02:51 PM
I'm not sure what you mean by THE appstore, but http.post works this way
DannySMc #3
Posted 24 March 2015 - 02:28 PM
I'm trying to make the app store and I want to allow the user to register in-app or post an app. How do I can do that?
(how to use http.post)
Which hosting site you can give me?

what type of help do you need? I have made an app store that works? If you wish to have an API to use it? or if you are looking at making a solo one then do PM me and I can help you with the PHP scripts?

Also it doesn't matter what hosting site you use, as long as it has a decent version of PHP and MySQL?

Make sure you need to choose the names of the code that will be got through the $_POST variable.

Then you need to format the http.post() to post the content up with the correct variable names. Also I wouldn't store code in a database, as when you sanitize it, it escapes the majority of the code.
Edited on 24 March 2015 - 01:30 PM