Skip to content

Repository files navigation

masterclass-sentry

Exemplo de API base para configurar o Sentry.

Chamadas de API

# Cria Usuário 
curl -d '{ "name": "", "email": "rubens@gmail.com", "password": "123", "role": "teste"}' -H "Content-Type: application/json" -X POST http://localhost:3000/users
# Autentica Usuário
curl -d '{ "email": "rubens@gmail.com", "password": "123"}' -H "Content-Type: application/json" -X POST http://localhost:3000/users/auth
# Lista Usuários
curl -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -X GET http://localhost:3000/users 

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages