Skip to content

hemant767/Get-Your-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Get Your Server

Implemented GET ,POST, PATCH and DELETE request for list of servers as well as particular servers by name or id, deleting servers from existing list of servers by id and updating server information by id using params .

----------------------------------------------------------

***Initial List only of 4 servers***

---------------------------------------------

GET : localhost:8080/servers

To get the list of existing servers

----------------------------------------------------------

Adding a server to existing list

----------------------------------------------------------

POST : localhost:8080/servers

Adding process

Added new server with new id=5(initially has only 4 servers)

Changes after POST resquest, added new server with id =5 in last

----------------------------------------------------------

Deleting server by ID

----------------------------------------------------------

DELETE :localhost:8080/servers?id=1

Deleting server whose id is 1

List after deletion of server (id=1)

----------------------------------------------------------

Updating server by ID

----------------------------------------------------------

PATCH :localhost:8080/servers?id=1

Updating server whose id=2

Updated List (changing server with id =2's framework from c++ to Python

------------------------------------------------------------------------------------------------------------------------

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages