Unnecessary warning when POST (JSON) body has multiple lines #270
Labels
difficulty: novice
Anyone could help
effort: low
< 1 day of work
help wanted
Solution is well-specified enough that any community member could fix
priority: low
Will be fixed eventually
type: bug
Maintainers have validated that it is a real bug in the project code
Milestone
If the POST JSON body has newlines in it, plumber creates a warning during the request:
Here is a toy example that creates the warning with a multi-line JSON body:
functions.R:
run.R
I think this could be fixed by simply changing the
body
in this line tobody[1]
The text was updated successfully, but these errors were encountered: