Browse Source

doc : update

pull/13/head
oof1lab 7 years ago
parent
commit
184a64a57d
  1. 7
      README.md

7
README.md

@ -89,14 +89,11 @@ Download [node](https://nodejs.org/en/download/current/),
if you haven't on your system.
## Root URL
Root URL (localhost:3000/) returns all REST API urls for each table in schema.
## CRUD APIs Usual Suspects
## Usual Suspects in a REST API framework
| HTTP Type | API URL | Comments |
|-----------|----------------------------------|---------------------------------------------------------
| GET | / | Gets all REST APIs |
| GET | /api/tableName | Lists rows of table |
| POST | /api/tableName | Create a new row |
| PUT | /api/tableName | Replaces existing row with new row |

Loading…
Cancel
Save