Set the Authorization header, test valid and invalid tokens with a local fixture, and troubleshoot 401, 403, and browser connectivity errors.