Gary-Airwallex commented on issue #6266:
URL: https://github.com/apache/apisix/issues/6266#issuecomment-1034473794


   @Chever-John May I also suggest that the `parse_graphql` function should 
handle the case of GET requests? 
https://graphql.org/learn/serving-over-http/#get-request
   Currently an error message is returned regardless of HTTP method used.
   ```
   local body, err = request.get_body(max_size, ctx)
   if not body then
       return nil, "failed to read graphql body: " .. (err or "request body has 
zero size")
   end
   ``` 


-- 
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]


Reply via email to