go build && ./crud
go test
Transaction Type | Example |
---|---|
CREATE | curl -d '{"id":"jim", "Number": 100, "AssociatedTypes": ["hello","there"]}' http://localhost:8420/data |
READ | browser link |
UPDATE | curl -X PUT -d '{"id":"jim", "Number": 99, "AssociatedTypes": ["hello"]}' http://localhost:8420/data |
DELETE | curl -X DELETE http://localhost:8420/data/jim |