SebastianSchramm commited on
Commit
053ffc5
1 Parent(s): 2dcc710

add trailing slash for compatibility

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -25,6 +25,6 @@ def health_check():
25
  return {"server": "running"}
26
 
27
 
28
- @app.post("/answer")
29
  async def receive(input_load: InputLoad) -> ResponseLoad:
30
  return ResponseLoad(answer="Hi, happy to help you with that. According to my information this is possible! Hope that was helpful!")
 
25
  return {"server": "running"}
26
 
27
 
28
+ @app.post("/answer/")
29
  async def receive(input_load: InputLoad) -> ResponseLoad:
30
  return ResponseLoad(answer="Hi, happy to help you with that. According to my information this is possible! Hope that was helpful!")