Azure / Azure/azure-functions-durable-python
Calling Signal entity HTTP API fails with content-type=application/json
- Dominant language
- Python
- Stars
- 157
- Forks
- 70
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 2
Description
### Context
In the [http api documentation for signalling a durable entity](https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-api#signal-entity) it is stated that the request content (payload) should be JSON-formatted, implying that the Content-Type should be application/json.
Calling the API using this Content-Type=applicaton/json will throw an error in the get_input() function of the Durable entity context with the error "the JSON object must be str, bytes or bytearray, not dict"
### How to reproduce
Call the API using Content-Type = application/json
### Workaround
Call the API using Content-Type = text/plain
Contributor guide
Assessment
This issue has not been assessed yet.