Skip to content

AgarwalConsulting/emp-server-2309

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReSTful API (Representational State Transfer)

CRUD => {Create, Read, Update, Destroy}

HTTP Methods => {GET, POST, PUT, DELETE, OPTIONS, ...}

Employee Management Server (JSON)

CRUD        Action        HTTP Method         URI                  Req Body              Resp Body
----------------------------------------------------------------------------------------------------
Read        Index           GET             /employees                -                   [{...}, ...]
Read        Show            GET             /employees/{id}           -                   {...}
Create      Create          POST            /employees              {...}                 {id: , ...}
Update      Update          PUT             /employees/{id}         {...}                 - / {...}
Update      Update          PATCH           /employees/{id}        some attrs             - / {...}
Destroy     Destroy         DELETE          /employees/{id}           -                   - / {...}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published