You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/guides/py/api_workshop.mdx
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -621,12 +621,15 @@ else:
621
621
This script sends a GET request to the `/employees` endpoint and prints the list of employees if the request is successful.
622
622
623
623
</Card>
624
-
<Asidetype="note">
625
-
You can either run your original `host.py` script by pressing `+` to open a new terminal in VS Code or try out the hosted API Playground to test this script out `http://magic.magic-ug.org:10500/` with the `/employees` endpoint and `/departments` endpoint.
626
-
</Aside>
627
624
628
625
<Card>
629
626
### Testing `consume.py`
627
+
<Asidetype="danger">
628
+
Before testing `consume.py` your original `host.py` script should be running.
0 commit comments