diagrid call invoke put
Send PUT request to an app
Description
Perform direct PUT call from one App ID to another using the Service Invocation API
diagrid call invoke put <appid.method> [flags]
Examples
# Invoke PUT request from caller App ID to target App ID
diagrid call invoke put target.methodname --app-id caller
# Invoke PUT request from caller App ID to target App ID with a sample payload
diagrid call invoke put target.neworder --app-id caller -—data '{"orderId": 1}'
Options
-a, --app-id string [Required]: Caller App ID
-p, --project string Name of existing project
-d, --data string The JSON serialized 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
SEE ALSO
- diagrid call invoke - Call Service Invocation API