apollographql / apollographql/datasource-rest
How to send GET request with body?
- Dominant language
- TypeScript
- Stars
- 48
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue identifies no files, tests, or entry points. Start by locating the GET/HEAD request validation in the datasource-rest request path and determine whether legacy GET bodies are intended to be supported or documented as unsupported. Done means the expected behavior is defined and covered by an appropriate test or documentation change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100