cURL
curl --request POST \ --url http://localhost:3000/leads \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "João Silva", "whatsapp": "5511999999999", "source": "website" } '
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"João Silva"
"5511999999999"
"website"
Lead criado com sucesso