Skip to content

Commit 64e8411

Browse files
release v1.0.0_mysql
1 parent b1479cc commit 64e8411

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
# Php Rest API Application
1+
# Php Rest API Application
2+
3+
4+
### Used Feature
5+
> `json`, `headers_authorization`, `upload_file`, `access_token`
6+
7+
## Quick links
8+
1. [**Get API**](http://localhost/php-rest-api/test/access_token=<Access_Token>) for `GET`, `POST`, `PUT`, `DELETE`
9+
2. [**Upload File**](http://localhost/php-rest-api/test/access_token=<Access_Token>) for `POST`, `DELETE`
10+
11+
### API Routes
12+
| HTTP Method | Path | Action | Scope | Desciption |
13+
| ----- | ----- | ----- | ---- |------------- |
14+
| GET | /<table_name> | index | data:list | Get all data
15+
| POST | /<table_name> | store | data:create | Create an data
16+
| GET | /<table_name>/{_id} | show | data:read | Fetch an data by id
17+
| PUT | /<table_name>/{_id} | update | data:write | Update an data by id
18+
| DELETE | /<table_name>/{_id} | destroy | data:delete | Delete an data by id

0 commit comments

Comments
 (0)