Sample Application Structure for Echo
Sample Application Structure for micro Web Application Framework Echo.
curl -H "Content-Type: application/json" -X POST -d '{"name":"Luis", "number": 9, "position": "FW"}' http://localhost:8888/api/v1/members curl -H "Content-Type: application/json" -X POST -d '{"name":"Lionel", "number": 10, "position": "FW"}' http://localhost:8888/api/v1/members=> {"number":10, "name":"Lionel", "position":"FW", "createdAt":1465415304}
curl -H "Content-Type: application/json" -X GET http://localhost:8888/api/v1/members/10=> {"number":10, "name":"Lionel", "position":"FW", "createdAt":1465415304}
curl -H "Content-Type: application/json" -X GET http://localhost:8888/api/v1/members=> [
{"number":9, "name":"Luis", "position":"FW", "createdAt":1465415304}, {"number":10,"name":"Lionel", "position":"FW", "createdAt":1465415304} ]