Add hint on OPTIONS request for input bindings (#2587)

When creating an input binding dapr makes an `OPTIONS` call on the specified endpoint. If the request fails, the subscription is dropped and input wont be handled. 

Signed-off-by: Malte Götz <maltegoetz@users.noreply.github.com>
This commit is contained in:
Malte Götz 2022-06-29 18:51:23 +02:00 committed by GitHub
parent ad99ef096a
commit 8066950aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ spec:
## Listen for incoming events (input binding)
Configure your application to receive incoming events. If using HTTP, you need to listen on a `POST` endpoint with the name of the binding, as specified in `metadata.name` in the `binding.yaml` file.
Configure your application to receive incoming events. If using HTTP, you need to listen on a `POST` endpoint with the name of the binding, as specified in `metadata.name` in the `binding.yaml` file. Additionally make sure that your application allows dapr to make an `OPTIONS` request for this endpoint.
Below are code examples that leverage Dapr SDKs to demonstrate an output binding.
@ -270,4 +270,4 @@ Event delivery guarantees are controlled by the binding implementation. Dependin
* [Bindings building block]({{< ref bindings >}})
* [Bindings API]({{< ref bindings_api.md >}})
* [Components concept]({{< ref components-concept.md >}})
* [Supported bindings]({{< ref supported-bindings >}})
* [Supported bindings]({{< ref supported-bindings >}})