"""Run this to get the authorization header for the test user.""" import requests def main(): login_url = f"http://localhost:5002/login" response = requests.post(login_url, json={"username": "test", "password": "test"}) print(f"Headers:") print(f"Authorization: Bearer {response.json()['accessToken']}") if __name__ == '__main__': main()