Open
Description
Describe the bug
useFetch post
call inserts quotes when passed a string.
Please click this to easily reproduce the bug.
To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/s/strange-wave-onbnw?file=/src/App.js
- Open devtools and observe network call to `/test'
- View request payload
- See that "test" is exctly that. The word "test" wrapped in quotes.
Expected behavior
I expect a string to be passed into the body of the request as a string, not wrapped in quotes.
Metadata
Metadata
Assignees
Labels
No labels