mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
This commit is contained in:
1 parent
9b68bd0377
commit
15c9f58aae
2 files changed
+207
No files matched your search
+3
@@ -241,6 +241,9 @@ public class ApiGatewayExecuteController {
|
||||
}
|
||||
|
||||
MethodConfig method = matched.getResourceMethods().get(httpMethod.toUpperCase());
|
||||
if (method == null) {
|
||||
method = matched.getResourceMethods().get("ANY");
|
||||
}
|
||||
if (method == null) {
|
||||
return Response.status(405)
|
||||
.entity(jsonMessage("Method Not Allowed"))
|
||||
|
||||
Reference in new issue
Block a user