Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(middlware): allow string payloads (#799)
* feat(middleware): allow payload to be a string * fix(middleware): don't parse the payload string into JSON If we don't have `request.body`, don't parse the string payload into JSON, to avoid issues like #775 * style: prettier * feat(middleware): deprecate passing a payload as JSON in `request.body` * fix(middleware): test if string can be parsed as JSON
- Loading branch information