kayx23 commented on issue #10346:
URL: https://github.com/apache/apisix/issues/10346#issuecomment-1767566871

   > do nothing change(with the exprs), I am use curl request , success.
   > 
   > ```
   > curl --location 'http://x.x.x.x:xxx/client/graphql' \
   > --header 'Content-Type: application/json' \
   > --header 'Authorization: Bearer 
xxxxciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTc2NzgyOTAsImtleSI6InVzZXIta2V5In0.uwbJBHgSRwKRSPloqq9uqeiXHmK9OhsXaPXFnlW19wI'
 \
   > --data '{"query":"query tClientInfo($pageSize: Int!, $pageIndex: Int!) {\n 
   tClientInfo(\n        filters: { status: { eq: 1 } }\n        pagination: { 
page: { limit: $pageSize, page: $pageIndex } }\n        orderBy: { updateTime: 
DESC }\n    ) {\n        nodes {\n            id\n            clientId\n        
    clientCode\n            clientName\n            status\n            
createUser\n            createTime\n            remark\n            
updateTime\n            updateUser\n        }\n        paginationInfo {\n       
     pages\n            current\n        }\n    
}\n}","variables":{"pageSize":10,"pageIndex":1}}'
   > ```
   > 
   > response
   > 
   > ```
   > {
   >     "data": {
   >         "tClientInfo": {
   >             "nodes": [],
   >             "paginationInfo": {
   >                 "pages": 1,
   >                 "current": 1
   >             }
   >         }
   >     }
   > }
   > ```
   
   Is this sent to APISIX? What if you send one to APISIX this way:
   
   
![image](https://github.com/apache/apisix/assets/39619599/b57438b9-42fb-4889-9377-20cd2a4b5324)
   
   screenshot from [this 
blog](https://apisix.apache.org/blog/2022/03/02/apisix-integration-graphql/).


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