diff --git a/README.md b/README.md index 9a0ef72..aa3699f 100644 --- a/README.md +++ b/README.md @@ -79,8 +79,17 @@ curl https://nomedocliente.getname.noharm.ai/patient-name/12345 Com auth: +Gerar o token: + +``` +cd app +python test_token.py +``` + +Acionar o endpoint usando o token gerado: + ``` -curl -H "Authorization: Bearer token" https://nomedocliente.getname.noharm.ai/patient-name/12345 +curl -H "Authorization: Bearer [token]" https://nomedocliente.getname.noharm.ai/patient-name/12345 ``` ### 1.2. Test Multiple diff --git a/test_token.py b/app/test_token.py similarity index 100% rename from test_token.py rename to app/test_token.py