Skip to content

Support for HTTP GET requests #1450

@tstocker-black-cape

Description

@tstocker-black-cape

The GraphQL spec says that GET requests are allowed for queries

https://graphql.org/learn/serving-over-http/#get-request-and-parameters

The Spring GraphQL docs point to that document and seem to indicate that GET requests should work with a content type of application/graphql-response+json set.

https://docs.spring.io/spring-graphql/reference/transports.html

However, I can't get it to work with my server. I'm getting 405 errors back indicating that GET requests are NOT supported. Is there a way to make this work with Spring GraphQL?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions