Skip to content

peter11420/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API

RESTful API using Python Flask

Clone

git clone https://github.com/peter11420/api.git

Usage

Start with command:

cd api
docker-compose up -d

Users

http://localhost:5000

Field Description
id list id
name user name
job_title user job
email user email
mobile user phone number

Format Example

{
    "communicate_information": {
        "email": "wayne@gmail.com",
        "mobile": "09XX-XXX-XXX"
    },
    "job_title": "Devops",
    "name": "Wayne",
    "id": 1
}

/user

POST

Add user

  • Response 200 (application/json)

    Response will get all user.

GET

Get all user info

  • Response 200 (application/json)

    Response will get all user.

PUT

Update user info

  • Response 200 (application/json)

    Response will get all user.

DELETE

remove user

  • Response 200 (application/json)

    Response will get all user.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published