lundi 8 avril 2019

Requested url not found in GraphQL on Laravel 5

Im trying to set up graphQL on my project. I'm using Laravel 5.

I tried following this tutorial (but instead of products i changed it to bookings)

and in my http://localhost/graphiql i added this query

query FetchBookings {
  booking(id: "1") {
    data {
      id
    }
  }
}

but all i'm getting this error

"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL /graphql was not found on this server.</p>\n</body></html>\n"

why am i getting a 404 error?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire