How can I edit server-side files on HTML? | Sololearn: Learn to code for FREE!

+1

How can I edit server-side files on HTML?

I wanna create and edit server-side files from javascript. For example a button that takes data from input field and save it server-side with JS and a button for edit saved file. This is for a big project please read question carefully and be serious!

9/25/2017 7:35:34 PM

İ.Salih KILIÇ

3 Answers

New Answer

+1

Hook up the server side with http protocol. Use put or post method to create and edit the "data"

+1

@Khun how can I do it? Is there any tutorials?

0

Hi you might need to study how to use json, and set up a database file. Host it in your computer or Web hosting provider. Then only you work on the Javascript on client end, which trigger by your button. https://medium.com/codingthesmartway-com-blog/create-a-rest-api-with-json-server-36da8680136d