AWS Api gateway greedy path takes over static route issue

732 Views Asked by At

I have an AWS Api gateway with Rest API configured. There are 2 resources configured

  1. POST /v1/operations/init - this is the static route
  2. ANY /v1/{proxy+} - this is the greedy.

Greedy path (no.2) requires API KEY but not the static one. When I try the request on static route (POST /v1/operations/init) it returns 200 OK and "Missing Authentication token"

My question: is existence of the path in both resources the problem?

0

There are 0 best solutions below