# WebStore # REST API to store some data, like json, csv or txt. https://github.com/JMDirksen/WebStore # Examples # Store data example (you should choose your own secret, replace ""): These commands will put some headers in the file and add 3 lines, but limit the file size to 2 lines (excluding headers): curl -X PUT -d "key,value" "https://db.jefta.net/?maxlines=2&headerlines=1" curl -X PATCH -d "test,value1" "https://db.jefta.net/?maxlines=2&headerlines=1" curl -X PATCH -d "test,value2" "https://db.jefta.net/?maxlines=2&headerlines=1" curl -X PATCH -d "test,value3" "https://db.jefta.net/?maxlines=2&headerlines=1" The commands above output an url with which you can retrieve the stored data. Retrieve data example: curl "https://db.jefta.net/5dc147e4c3a32e8f21e8e81a23f4f4806ccd024440f4e1f10d4eaf91c445118e" The output would look like this: key,value test,value2 test,value3