Skip to content

AgarwalConsulting/emp-server-2402

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReSTful (Respresentational State Transfer)

HTTP Methods => Get, Put, Post, Delete, Options, ...

CRUD => Create, Read, Update, Destroy

Employee Management Server (JSON API)

CRUD        Action          HTTP Method               URI                         Req Body                    Resp Body
---------------------------------------------------------------------------------------------------------------------------
Read        Index              GET                 /employees                        -                       [{...}, ...] - Done
Read        Show               GET                /employees/{id}                    -                        {...}
Create      Create            POST                 /employees                      {...}                      {id: ..., ...} - Done
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