warrenday / graphql-network-inspector

A better network inspector for viewing and debugging GraphQL requests.
MIT License
466 stars 46 forks source link

GET requests are not detected #70

Closed adrian-skybaker closed 1 year ago

adrian-skybaker commented 2 years ago

See the GET section of https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md for the convention of the serialization format when GET is used instead of POST.

warrenday commented 2 years ago

Currently we are only parsing POST, however it should be fairly straightforward to also listen for GET requests. Thanks for raising. 🙌

Odonno commented 1 year ago

I made a PR that detects GET/Persisted Query requests #81. @adrian-skybaker Because each framework has its own implementation, what I have done may not work for you. If that's the case, are you able to provide an example of a GET request (url + headers) that should work? So that I can tweak the code to make it work.