Skip to main content

diagrid call invoke get

Send GET request to an app

Description​

Perform direct GET call from one id to another using the Service Invocation API

Your Diagrid login is sent with the request as the X-Diagrid-User-Token header, so that a target agent can act on your behalf. A region that trusts only your own identity provider rejects it with a 401; ask your organization admin to federate Diagrid there as well.

diagrid call invoke get <id.method> [flags]

Examples​


# Send GET request from caller id to target id
diagrid call invoke get target.methodname --id caller

Options​

-a, --id string Caller id
-p, --project string Name of existing project
-o, --output string Output format, supported [table, yaml, json] (default "table")
-v, --verbose Include verbose output such as curl command and response body
-h, --help help for get

Options inherited from parent commands​

--api-key string Diagrid Cloud API key

SEE ALSO​