Skip to content

tredwardsantos/Basic-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic-API

How to Use

This project is not linked to an actual database just yet. As such, testing of this API project requires the use of Postman.

Testing GET

Can only be used at

http://localhost:8080/list/
http://localhost:8080/list/{id number}

Testing POST

Can only be used at

http://localhost:8080/list/

example of body:

    {
        "id": "4",
        "middleini": "X",
        "lastname": "Dela Cruz",
        "address": "Pampanga",
        "mobile": "099999999",
        "name": "Juan"
        }

Testing PUT

Can only be used at

http://localhost:8080/list/{id number}

example of body:

    {
        "id": "3",
        "middleini": "Y",
        "lastname": "Elcross",
        "address": "Pampang",
        "mobile": "091111111",
        "name": "John"
        }

Testing DELETE

Can only be used at:

http://localhost:8080/list/{id number}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages