Skip to main content

diagrid httpendpoint create

Create a Dapr HTTP endpoint

diagrid httpendpoint create <httpendpoint> [flags]

Examples

diagrid httpendpoint create my-endpoint --project my-project --base-url https://api.example.com --header Authorization:BearerToken

Options

  -p, --project string       Name of existing project
--base-url string Base URL for the HTTP endpoint (required)
--scope stringArray Optional scopes/appIds
--header stringArray Optional headers in Name:Value format (repeatable)
--tls-root-ca string TLS root CA secret ref
--tls-cert string TLS client certificate secret ref
--tls-key string TLS client private key secret ref
-w, --wait Wait for long-running resource creation to finish
-h, --help help for create

Options inherited from parent commands

      --api-key string   Diagrid Cloud API key

SEE ALSO