Blockchain using golang
- Go 1.12.4
go run main.go
Route | Verb | Description |
---|---|---|
http://localhost:8080 |
GET | List all blocks from chain |
http://localhost:8080 |
POST | Post a new message |
The message sent should be like:
{"BPM":12}
Code based on this article.