Closed Eorhim closed 4 years ago
This ensures, that the code raises a HTTPError in case something went wrong. Otherwise we would get a KeyError a line later, when we try to access the data from the response.
HTTPError
KeyError
data
This ensures, that the code raises a
HTTPError
in case something went wrong. Otherwise we would get aKeyError
a line later, when we try to access thedata
from the response.