Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services 如何在AWS API网关中处理404?_Amazon Web Services_Aws Api Gateway - Fatal编程技术网

Amazon web services 如何在AWS API网关中处理404?

Amazon web services 如何在AWS API网关中处理404?,amazon-web-services,aws-api-gateway,Amazon Web Services,Aws Api Gateway,当我请求AWS API网关中不存在的URL时,会出现以下错误: { "message": "Missing Authentication Token" } 这并不是我所期望的。我需要找到一种方法来返回一种404notfound错误 有什么建议吗?贪婪代理{+proxy}。或设置默认响应

当我请求AWS API网关中不存在的URL时,会出现以下错误:

{
    "message": "Missing Authentication Token"
}
这并不是我所期望的。我需要找到一种方法来返回一种
404notfound
错误


有什么建议吗?

贪婪代理{+proxy}。或设置默认响应