Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter keishawj

    (@keishawj)

    Hi,

    How exactly do I get the access token?

    I have tried to send a request to https://{my-wordpress-site}/wp-json/salon/api/v1/login with name and password in the query string using the same credentials of my WordPress account, but I get the response.

    {
        "code": "rest_no_route",
        "message": "No route was found matching the URL and request method.",
        "data": {
            "status": 404
        }
    }
    Thread Starter keishawj

    (@keishawj)

    Great, thank you, that worked!

    Thread Starter keishawj

    (@keishawj)

    Hi, after adding /graphql to the exclude path I am able to make the graph calls from my external application, but I am still not able to use the Graph IDE within the WordPress admin portal.

    I get an error like this:

    {
      "message": "Failed to fetch",
      "stack": "TypeError: Failed to fetch\n    at <anonymous>:1:876\n    at I (https://{my-domain}/wp-content/plugins/wp-graphql/src/Admin/GraphiQL/app/build/static/js/main.b7a5fda0.chunk.js?ver=1:1:2155)\n    at n.<anonymous> (https://{my-domain}/wp-content/plugins/wp-graphql/src/Admin/GraphiQL/app/build/static/js/2.ffdf9e96.chunk.js?ver=1:2:491677)\n    at https://{my-domain}/wp-content/plugins/wp-graphql/src/Admin/GraphiQL/app/build/static/js/2.ffdf9e96.chunk.js?ver=1:2:469068\n    at Object.next (https://{my-domain}/wp-content/plugins/wp-graphql/src/Admin/GraphiQL/app/build/static/js/2.ffdf9e96.chunk.js?ver=1:2:469173)\n    at https://{my-domain}/wp-content/plugins/wp-graphql/src/Admin/GraphiQL/app/build/static/js/2.ffdf9e96.chunk.js?ver=1:2:468108\n    at new Promise (<anonymous>)\n    at R (https://{my-domain}/wp-content/plugins/wp-graphql/src/Admin/GraphiQL/app/build/static/js/2.ffdf9e96.chunk.js?ver=1:2:467853)\n    at n._fetchQuery (https://{my-domain}/wp-content/plugins/wp-graphql/src/Admin/GraphiQL/app/build/static/js/2.ffdf9e96.chunk.js?ver=1:2:490726)\n    at n.<anonymous> (https://{my-domain}/wp-content/plugins/wp-graphql/src/Admin/GraphiQL/app/build/static/js/2.ffdf9e96.chunk.js?ver=1:2:471980)"
    }
Viewing 3 replies - 1 through 3 (of 3 total)