I have setup my API at Amazon API Gateway and the Gateway Responses
part seems to be a bit confusing.
There are a lot of default responses defined here along with the HTTP Return Code:
- Access Denied (403)
- Invalid API Key (403)
- Invalid Signature (403)
- Missing Authentication Token (403)
- Unauthorized (401)
Is there any logic of which response is returned upon which condition? I have done my tests and I wasn't able to find a pattern.
- No API Key + Valid URL: Invalid API Key
- No API Key + Invalid URL: Missing Authentication Token
- Good API Key + Invalid URL: Missing Authentication Token
Is there any specific pattern here?
Thanks, Guven.