Support GET requests with optional body.
Similar to https://github.com/dart-lang/http/pull/439, but for GET requests.
There are some APIs with GET requests that require a body and not query parameters. It's not possible to use these APIs without supporting this.
you want to pass body in the get request , am i correct @victoriahuang1
you want to pass body in the get request , am i correct @victoriahuang1
yes this is correct
@victoriahuang1
Actually we can do that but
In 2014, the RFC 7231 superseded HTTP/1.1. It added a warning against the use of GET with a body.
Since we have other methods to do the same thing , that's why we don't have the option you are looking for
Not all clients support setting a body in the 'GET' request.