http and apis — making the call7 / 9
get, status, json — the call ai makes 100 times a day
AI thought the API returned data["username"] but the real shape uses
data["name"]. The script crashes with a KeyError. Fix the access
on line 9 so the script prints maya.
The break is on line 9 — but read the whole snippet first.
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _