You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A server MUST support requests from clients with HTTP header Content-Type: application/graphql+json indicating that the body of the request is a JSON document with a GraphQL request.
GraphQL.NET Server v7 supports both the application/json and application/graphql+json media types for requests.
The following are the officially recognized GraphQL media types to designate using the JSON encoding for GraphQL requests:
Name
Description
application/json
Standard type for GraphQL JSON requests
Although no change is required, we may wish to note in the source that support was removed for this media type within the current draft spec.
The text was updated successfully, but these errors were encountered:
Shane32
changed the title
Deprecate support of application/graphql+json requests
Deprecate support of the application/graphql+json media type
Sep 4, 2022
In graphql/graphql-over-http#161 this was added to the draft spec:
GraphQL.NET Server v7 supports both the
application/json
andapplication/graphql+json
media types for requests.This media type has been removed in graphql/graphql-over-http#175 where we have this:
Although no change is required, we may wish to note in the source that support was removed for this media type within the current draft spec.
The text was updated successfully, but these errors were encountered: