Skip to content

aryanmaurya1/contactAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

contactAPI

Routes

Endpoints

[GET] "/api/contacts" Get All Contacts

[GET] "/api/contacts/{id}" Get a single contact, pass id as argument in URL

[POST] "/api/contacts" Adds a new contact, post contact(name, contact, email) as json
Example { "name": "Aryan Maurya", "contact": "9971984993, 9795644147", "email": "aryanmaurya1@outlook.com" }

[PUT] "/api/contacts/{id}" Updates an existing contact based on the id passed in URL as argument, pass complete updated contact even if updating a single field as json.

[DELETE] "/api/contacts/{id}" Deletes an existing contact based on the id passed in URL as argument

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages