Your Name %!s(int64=3) %!d(string=hai) anos
pai
achega
e90de370cd
Modificáronse 1 ficheiros con 25 adicións e 0 borrados
  1. 25 0
      step_question/apis/main.py

+ 25 - 0
step_question/apis/main.py

@@ -184,6 +184,31 @@ async def coffee_get():
     return {'coffee':coffee}
     return {'coffee':coffee}
 
 
 
 
+@app.get("/220")
+async def redirect220():
+    response = RedirectResponse(url='/a1/index-line.html')
+    return response
+
+@app.get("/242")
+async def redirect242():
+    response = RedirectResponse(url='/a1/index-line.html')
+    return response
+
+@app.get("/241")
+async def redirect241():
+    response = RedirectResponse(url='/a1/index-line.html')
+    return response
+
+@app.get("/112")
+async def redirect112():
+    response = RedirectResponse(url='/a1/index-line.html')
+    return response
+
+@app.get("/111")
+async def redirect111():
+    response = RedirectResponse(url='/a1/index-line.html')
+    return response
+
 
 
 @app.get("/a1")
 @app.get("/a1")
 async def redirect():
 async def redirect():