Largely or completely influenced by Code your own blockchain in Go
Display the blockchain in JSON format
curl -X GET \
http://localhost:18080 \
-H 'Content-Type: application/json' \
- Create a new block
curl -X POST \
http://localhost:18080 \
-H 'Content-Type: application/json' \
-d '{"Data": 5}'