Repository navigation
Replies: 1 comment
|
The error is expected because the Fetch API does not allow a request body for GET or HEAD. Since RESTDataSource ultimately relies on Fetch-compatible request semantics, this cannot be enabled just by changing a RESTDataSource option. |
Uh oh!
There was an error while loading. Please reload this page.
I am trying to send a GET request with a body, but I receive the error: "Request with GET/HEAD method cannot have body."
I know that sending a GET request with a body is unusual, but I need to do it because of a legacy requirement.
What should I do?
All reactions