Skip to main content

diagrid call invoke put

Send PUT request to an app

Description

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

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

Examples


# Invoke PUT request from caller id to target id
diagrid call invoke put target.methodname --id caller

# Invoke PUT request from caller id to target id with a sample payload
diagrid call invoke put target.neworder --id caller -—data '{"orderId": 1}'

Options

-a, --id string Caller id
-p, --project string Name of existing project
-d, --data string Data string
-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 put

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO