Skip to content

AgarwalConsulting/emp-server-2407

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReSTful API (Representational State Transfer)

CRUD (Create, Read, Update, Destroy) => HTTP Methods (GET, POST, PATCH, OPTIONS, ...)

Employee Management Server (JSON API)

CRUD      Action          HTTP Method         URL                    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   Delete          DELETE            /employees/{id}             -                   {...} / -

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published