README ¶ REST API This is an example of how to serve REST behind the API using go-restful Getting Started Run Micro API $ micro api --handler=http Run Greeter Service go run greeter/srv/main.go Run Greeter API go run rest.go Curl API curl http://localhost:8080/greeter Output { "message": "Hi, this is the Greeter API" } Test a resource curl http://localhost:8080/greeter/asim Output { "msg": "Hello asim" } Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files rest.go Click to show internal directories. Click to hide internal directories.