I have a API gateway which maps to Cloud Run services. Nothing fancy or complex. Postman is attempting to POST a json payload to the API gateway endpoint suffixed with "/api/user". However, I keep getting the below message:
{
"message": "The current request is matched to the defined url template \"/api/user\" but its http method is not allowed",
"code": 405
}
My yaml sample is:
"/api/user":
post:
summary: Create a user
operationId: create_user
x-google-backend:
address: https://{service-path}/api/user
responses:
"200":
description: A successful response
schema:
type: string