Chever-John edited a comment on issue #6266:
URL: https://github.com/apache/apisix/issues/6266#issuecomment-1033276700


   In my experience, try removing the '-i' from the request configuration 
command first.
   ```
   curl http://localhost:9080/apisix/admin/routes/7 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "methods": ["POST"],
       "name":"mockGetUser",
       "uri": "/v2/c4d7a195/graphql",
       "vars": [
           ["graphql_operation", "==", "query"],
           ["graphql_name", "==", "getUser"]
       ],
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "api.mocki.io": 1
           }
       }
   }'
   ```
   If that doesn't work, try looking at the log, and I'll cover the entire 
troubleshooting process later.


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