pcyan commented on issue #6266: URL: https://github.com/apache/apisix/issues/6266#issuecomment-1032360235
> maybe bad graphql, see: > > https://github.com/apache/apisix/blob/ec0fc2ceaf04a20b0bd0ebdaad67296a1d3f621c/t/router/graphql.t#L165-L171 @tzssangglass it's not a bad graphql ``` curl 'http://127.0.0.1:9080/graphql' \ -H 'Content-Type: text/plain;charset=UTF-8' \ -H 'Accept: */*' \ --data-raw 'query getUser{getUser{name age}}' \ --compressed ``` this request will route to backend, but backend will parse error see https://graphql.org/learn/serving-over-http/#post-request -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
