cats-service

command
v0.0.0-...-f47669d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2017 License: MIT Imports: 8 Imported by: 0

README

docker run --name some-mysql -v pwd/datadir:/var/lib/mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql

curl -v -H "Content-Type: application/json" -X POST -d '{"name":"second","age":1,"type":"fatty"}' http://localhost:8091/api/cats

curl -v http://localhost:8091/api/cats

curl -v -H "Content-Type: application/json" -X PUT -d '{"name":"second","age":1,"type":"biggie"}' http://localhost:8091/api/cats/2

curl -v -X DELETE http://localhost:8091/api/cats/2

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL