280
Cris's resource cannot be retrieved either by email address...
282
>>> dump_json('http://localhost:9001/3.0/users/cris@example.com')
283
Traceback (most recent call last):
285
HTTPError: HTTP Error 404: 404 Not Found
289
>>> dump_json('http://localhost:9001/3.0/users/3')
290
Traceback (most recent call last):
292
HTTPError: HTTP Error 404: 404 Not Found
294
Cris's address records no longer exist either.
296
>>> dump_json('http://localhost:9001/3.0/addresses/cris@example.com')
297
Traceback (most recent call last):
299
HTTPError: HTTP Error 404: 404 Not Found
424
But this time, she is unsuccessful.
426
>>> dump_json('http://localhost:9001/3.0/users/5/login', {
427
... 'cleartext_password': 'not-the-password',
428
... }, method='POST')
429
Traceback (most recent call last):
431
HTTPError: HTTP Error 403: 403 Forbidden