Start server: go run main.go
- Support basic auth with admin:123456
- Support Postman Get method: curl localhost:8080
- Support Postman Post method: localhost:8080?name=blk&val=book
- Support Postman Put method: localhost:8080?name=hello&val=book
- Support Postman Delete method: localhost:8080?name=hello
Build docker image and run it docker build -t 2020webservice . docker run --publish 8080:8080 --name test --rm 2020webservice