http and apis — making the call5 / 9
status codes and error handling — what ai's api calls do when the wire blinks
Cursor wrote a call against a fake response and forgot the helper method that crashes on any 4xx or 5xx. Fill in the method name on line 8 — the standard helper that mirrors `httpx.Response.
()`.
Method:
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _