🐛 Fix XML example (#710)

This commit is contained in:
OcasoProtal 2019-11-27 21:06:50 +01:00 committed by Sebastián Ramírez
parent a1c9eff041
commit 4915cf0561
1 changed files with 2 additions and 3 deletions

View File

@ -6,12 +6,11 @@ app = FastAPI()
@app.get("/legacy/")
def get_legacy_data():
data = """
<?xml version="1.0"?>
data = """<?xml version="1.0"?>
<shampoo>
<Header>
Apply shampoo here.
<Header>
</Header>
<Body>
You'll have to use soap here.
</Body>