mirror of https://github.com/dapr/docs.git
26 lines
554 B
Markdown
26 lines
554 B
Markdown
---
|
|
type: docs
|
|
title: "invokePost CLI command reference"
|
|
linkTitle: "invokePost"
|
|
description: "Detailed information on the invokePost CLI command"
|
|
---
|
|
|
|
## Description
|
|
|
|
Issue HTTP POST to Dapr app with an optional payload
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
dapr invokePost [flags]
|
|
```
|
|
|
|
## Flags
|
|
|
|
| Name | Environment Variable | Default | Description
|
|
| --- | --- | --- | --- |
|
|
| `--app-id`, `-a` | | | The app ID to invoke |
|
|
| `--help`, `-h` | | | Help for invokePost |
|
|
| `--method`, `-m` | | | The method to invoke |
|
|
| `--payload`, `-p` | | | (optional) a json payload |
|