Egress Commands

The CLI includes the following egress commands:

Command

Description

Command

Description

call service <app-id.service-id> [version <app-version>] <http-method> <endpoint> [headers <headers>] [body <body>] [body:file <local-file-path>]

Calls a service endpoint. The <headers> are formatted as '{"key":"value", ...}'. The request body may be provided as either a string or a file. To provide the body as a string, use 'body <body>. To provide the body as a file, use 'body:file <local-file-path>.

Created in 2020 by Google Inc.