-
hey guys I have a little problem with my API routes. both rest apis and graphql apis uses the same prefix. so when I try to send a request to one of my rest method URLs it will return a blank page with an empty bracket but if I change the prefix; the problem will be solved. is it wrong to set the same prefix for API and graphql URLs? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
How would the clients otherwise specify which one to contact? Ok maybe I missed something obvious 😅 but my first thought is: it has to be different, it's not the same. There needs to be a clear discriminator, since both may use |
Beta Was this translation helpful? Give feedback.
How would the clients otherwise specify which one to contact?
Ok maybe I missed something obvious 😅 but my first thought is: it has to be different, it's not the same. There needs to be a clear discriminator, since both may use
GET
andPOST
requests for example.