I cannot figure out what I am doing wrong, I am getting 404, can someone help me pls?
Kong version: 2.2.1
here is my service
{
"host": "authentication-service.hostelworld.com.docker.test.hostelworld.com",
"id": "7c392680-4133-4f3e-933e-dabf8fca7b52",
"protocol": "http",
"read_timeout": 60000,
"tls_verify_depth": null,
"port": 80,
"updated_at": 1610476434,
"ca_certificates": null,
"created_at": 1610475201,
"connect_timeout": 60000,
"write_timeout": 60000,
"name": "auth",
"retries": 5,
"path": "/authentication",
"tls_verify": null,
"tags": [
"testing"
],
"client_certificate": null
}
and here is the route for the service above
{
"next": null,
"data": [
{
"strip_path": true,
"path_handling": "v1",
"paths": null,
"destinations": null,
"headers": null,
"protocols": [
"http",
"https"
],
"tags": [
"testing"
],
"created_at": 1610475310,
"request_buffering": true,
"service": {
"id": "7c392680-4133-4f3e-933e-dabf8fca7b52"
},
"name": "auth",
"updated_at": 1610476202,
"methods": [
"POST"
],
"preserve_host": false,
"regex_priority": 0,
"response_buffering": true,
"sources": null,
"id": "279741de-2a29-4f34-9874-887265c7a8a1",
"https_redirect_status_code": 426,
"snis": null,
"hosts": null
}
]
}
and the request
curl --location --request POST 'http://localhost:8000/v1/authentication/access-token' \
--header 'Content-Type: application/json' \
--data-raw '{
"grant_type": "password",
"username": "user",
"password": "password",
"client_id": 1,
"client_secret": "testtest"
}'
I have nay plugin associated with this service/route