https://github.com/syauqi357/restapi
API database PHP using REST system
https://github.com/syauqi357/restapi
api database php rest-api
Last synced: 22 days ago
JSON representation
API database PHP using REST system
- Host: GitHub
- URL: https://github.com/syauqi357/restapi
- Owner: syauqi357
- Created: 2025-11-23T11:22:46.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-12-26T15:53:05.000Z (6 months ago)
- Last Synced: 2025-12-26T18:58:44.883Z (6 months ago)
- Topics: api, database, php, rest-api
- Language: HTML
- Homepage:
- Size: 13.2 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Products:
GET, api.php?endpoint=products,(get all)
GET, api.php?endpoint=products&id=1, (get one)
POST, api.php?endpoint=products, (create)
PUT, api.php?endpoint=products&id=1, (update)
DELETE, api.php?endpoint=products&id=1, (delete)
### table preview
GET| api.php?endpoint=products|(get all)
-----|-----|-----
GET| api.php?endpoint=products&id=1| (get one)
POST| api.php?endpoint=products| (create)
PUT| api.php?endpoint=products&id=1| (update)
DELETE| api.php?endpoint=products&id=1| (delete)
## Transactions:
GET, api.php?endpoint=transactions, (get all)
GET, api.php?endpoint=transactions&id=1, (get one)
POST, api.php?endpoint=transactions, (create)
PUT, api.php?endpoint=transactions&id=1, (update)
DELETE, api.php?endpoint=transactions&id=1, (delete)
### table preview
GET| api.php?endpoint=transactions| (get all)
-----|-----|-----
GET| api.php?endpoint=transactions&id=1| (get one)
POST| api.php?endpoint=transactions| (create)
PUT| api.php?endpoint=transactions&id=1| (update)
DELETE| api.php?endpoint=transactions&id=1| (delete)