Skip to content

Commit b9c4f28

Browse files
Merge pull request platzi#38 from mauricios11/mau/2
Mau/2
2 parents a57dcde + d473b2b commit b9c4f28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

API_Python/app.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,8 @@ def get_lotr_warriors():
2929
def get_starwars_warriors():
3030
rows = ['Obiwan', 'el pelón del sable morado', 'Darth Vader', 'El de la colita de caballo', 'Yoda']
3131
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

Comments
 (0)