Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/escape-dev/latihan-api-laravel
https://github.com/escape-dev/latihan-api-laravel
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/escape-dev/latihan-api-laravel
- Owner: escape-dev
- Created: 2022-05-29T08:08:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-24T10:20:41.000Z (over 1 year ago)
- Last Synced: 2023-11-26T17:36:31.303Z (about 1 year ago)
- Language: PHP
- Size: 112 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project kali ini adalah latihan saya dalam membuat RESTful API
pembuatan RESTful API ini menggunakan bahasa pemrogramman php dan menggunakan framework laravel dengan database mysql## Endpoints
note: jangan lupa menambahkan ```Accept => application/json``` di header
### Contacts
* Get all contacts : ``` GET /api/contacts ```
* Post a contacts : ``` POST /api/contacts ```
* Update a contacts : ``` PUT /api/contacts/{id} ```
* Delete a contacts : ``` DELETE /api/contacts/{id} ```### Authentication
* sign in : ``` POST /api/signin ```
* sign up : ``` POST /api/register ```