报错
org.springframework.security.web.firewall.RequestRejectedException: The request was rejected because the HTTP method "PSOT" was not included within the whitelist [HEAD, DELETE, POST, GET, OPTIONS, PATCH, PUT]
原因:POST写成PSOT
避免犯这种有点xx的错误
本文解决了一个常见的编程错误,即在发送HTTP请求时将POST方法误写为PSOT,导致RequestRejectedException异常。文章强调了正确使用HTTP方法的重要性,并提醒开发者注意此类易犯但影响巨大的错误。
报错
org.springframework.security.web.firewall.RequestRejectedException: The request was rejected because the HTTP method "PSOT" was not included within the whitelist [HEAD, DELETE, POST, GET, OPTIONS, PATCH, PUT]
原因:POST写成PSOT
避免犯这种有点xx的错误
1万+
6856

被折叠的 条评论
为什么被折叠?