2 parents a57dcde + d473b2b commit b9c4f28Copy full SHA for b9c4f28
1 file changed
API_Python/app.py
@@ -29,3 +29,8 @@ def get_lotr_warriors():
29
def get_starwars_warriors():
30
rows = ['Obiwan', 'el pelón del sable morado', 'Darth Vader', 'El de la colita de caballo', 'Yoda']
31
return rows
32
+
33
+@app.get("/warriorsGOT")
34
+def get_warriors_got():
35
+ rows = ["Jon Snow", "Daenerys Targaryen", "Arya Stark", "Tyrion Lannister", "Cersei Lannister", "Jaime Lannister", "Bran Stark", "Sansa Stark"]
36
+ return rows
0 commit comments