http and apis — making the call2 / 9
parsing nested api responses — without crashing on a missing key
The response dict has no "name" key. Four lines try to read it.
Three of them work without crashing. Which one crashes with
KeyError?
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _