I have a node app and I am trying to implement kong API gateway on it. I successfully create a service and a route for my app end point. but whenever I trying to access the route through kong it always through 404 error I don’t know what’s wrong with my code.
the end point of my app is => (/api/v1/customers)
kong service =>
curl -i -X POST
kong route =>
curl -i -X POST http://localhost:7001/services/api-v1-customers/routes
–data ‘hosts=nodeapp’ \
url I 'm trying to hit http://localhost:7001/api/v1/customers