Browse Source

🐛 Fix XML example (#710)

pull/742/head
OcasoProtal 5 years ago
committed by Sebastián Ramírez
parent
commit
4915cf0561
  1. 5
      docs/src/response_directly/tutorial002.py

5
docs/src/response_directly/tutorial002.py

@ -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>

Loading…
Cancel
Save