Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 415 Bytes

README.md

File metadata and controls

24 lines (12 loc) · 415 Bytes

#REST API in Golang with mySql Database

Install go lang

Installation

    git clone https://github.com/motyar/restgomysql
    cd restgomysql
    go run server.go

And open http://IP_or_localhost:1234/api

Nothing but (cute) Pandas

GET /api/ to get all the pandas.

POST /api/ to add new panda {name}

DELETE /api/panda_id to remove that one panda.

PUT /api/ to update details {id and name}