Update README.md
This commit is contained in:
parent
eced489299
commit
a64d9bf9b2
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -38,13 +38,24 @@ $config = array(
|
|||
|
||||
## Example output
|
||||
|
||||
### List
|
||||
|
||||
```
|
||||
GET http://localhost/api/categories
|
||||
GET http://localhost/api/categories,users
|
||||
GET http://localhost/api/cate*
|
||||
GET http://localhost/api/cate*,user*
|
||||
```
|
||||
|
||||
```
|
||||
{"categories":{"columns":["id","name"],"records":[["1","Internet"],["3","Web development"]]}}
|
||||
```
|
||||
|
||||
### Read
|
||||
|
||||
```
|
||||
GET http://localhost/api/categories/1
|
||||
```
|
||||
|
||||
```
|
||||
{"id":"1","name":"Internet"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue