Skip to content

Overview

platform talks to the API from a terminal.

CommandWhat it does
platform helloFetch the greeting
platform healthCheck that the API is up
Terminal window
export PLATFORM_GRPC=template-grpc.localhost:80
export PLATFORM_REST=http://template-api.localhost
platform hello
platform health

Optional config file: ~/.platform/config.json (endpoint, rest_endpoint, token). These environment variables override the file: PLATFORM_GRPC, PLATFORM_REST, PLATFORM_TOKEN.

If you set nothing: gRPC 127.0.0.1:9090, REST http://127.0.0.1:8080.

Install or download a binary.