-
Notifications
You must be signed in to change notification settings - Fork 7
Interface
wurfkeks edited this page Jun 14, 2012
·
9 revisions
| Call | Method | Example | Explanation | Response Example |
|---|---|---|---|---|
| / | GET |
|
||
| /notes/get | GET |
|
[{"title":"Test2","_id":2,"created":1339242756956,"note":"Test] | |
| /notes/get?id= | GET | /notes/get?id=1 |
|
{"title":"Test1","_id":1,"created":1339242751357,"note":"Test Note 1","modified":1339242751357} |
| /notes/new | POST |
Form parameters:
|
|
|
| /notes/delete | GET |
|
||
| /notes/delete?id= | GET | /notes/delete?id=1 |
|
|
| /notes/update | POST |
Form parameters:
|
|
Every call would redirect to /login.html when authentication is required.