我已经配置和部署了一个API Gateway。如果我向它的一个分阶段端点(例如https://1234567890.execute-api.us-east-1.amazonaws.com/dev/doc )发出GET请求,就会得到一个200 OK响应如果我查看Custom Domain Names部分并替换在请求中找到的URL,例如abcdefghijkl-f4cwy0d1u5.execute-api.us-east-1.amazonaws.comto make h
出于某种安全原因,我们增加了一个通用弹簧过滤器,它执行横切检查,并在安全规则被破坏时删除403。// Then the filter should erase the response body and override the http status to 403.对于异步方法,在响应发送期间执行检查。因此,端点可以在开头200与响应体发送
我正在用PHP编写一个身份验证脚本,它需要返回200only in the case that it approves the request, and403(Forbidden) or500`。我遇到的问题是,php在出现错误的情况下返回200,而将错误输出为html。除非我自己显式返回HTTP 200或HTTP 403,否则我如何才能绝对确保php将返回HTTP 500代码?换句话说,我希望将任何和</e