O'Reilly logo

Go Web Development Cookbook by Arpit Aggarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works…

Once a command has executed successfully, browsing to http://localhost:8082/registry will list all the registered services as shown in the following screenshot:

Querying our greeter service using the web UI with the request {"name" : "Arpit Aggarwal"} will render you the response, {"msg": "Hello Arpit Aggarwal"} :

Querying the same greeter service using a CLI command, query go.micro.service.greeter Say.Hello {"name" : "Arpit Aggarwal"} will render you the response, {"msg": "Hello Arpit Aggarwal"}:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required