Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/escape-dev/latihan-api-laravel


https://github.com/escape-dev/latihan-api-laravel

Last synced: 2 months ago
JSON representation

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 ```