Skip to content

danilaml/SimpleRestServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimpleRestServer

Written in node.js

How-to:

First log in using PUT/POST /login/%username% and sending {"password" : "qwerty"} (test,123 or usr1,qqq in this case)

DELETE /login/%username% to log out

GET /%vtablename% - contents of %tablename%

GET /%vtablename%/%key% - search for value with the key == %key%

PUT/POST /%vtablename% with {"key" : %key%, "value" : %value} - put %value% in the table with the key == %key%

PUT/POST /%vtablename%/%key% with {"value" : %value} - put %value% in the table with the key == %key%

DELETE /%vtablename%/%key% - delete value with the key == %key% from the table

About

written in node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published