forked from Dniel97/artemis
cardmaker: fix method not allowed
This commit is contained in:
parent
a4262b9285
commit
de013766f6
@ -74,7 +74,7 @@ class CardMakerServlet(BaseServlet):
|
|||||||
|
|
||||||
def get_routes(self) -> List[Route]:
|
def get_routes(self) -> List[Route]:
|
||||||
return [
|
return [
|
||||||
Route("/SDED/{version:int}/{endpoint:str}", self.render_POST)
|
Route("/SDED/{version:int}/{endpoint:str}", self.render_POST, methods=['POST'])
|
||||||
]
|
]
|
||||||
|
|
||||||
async def render_POST(self, request: Request) -> bytes:
|
async def render_POST(self, request: Request) -> bytes:
|
||||||
|
Loading…
Reference in New Issue
Block a user