xArcGit / RestApiExample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rest API

REQUEST:

  • GET - /contact
  • GET - /contact/:contactId
  • POST - /contact/:contactId
  • DELETE - /contact/:contactId

JSON example

[
    {
        "_id": "65fbaeedf6ebfa5f9025d1ea",
        "firstName": "jack",
        "lastName": "robert",
        "email": "jack@xyz.io",
        "company": "self",
        "phone": "8988945561",
        "created_date": "2024-03-21T03:52:13.201Z",
        "__v": 0
    }
]

About


Languages

Language:JavaScript 100.0%