Skip to content

Commit

Permalink
Teste de Api
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Sep 24, 2024
1 parent 3847ac7 commit 93c9e21
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions backend/api.rest
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# PARA USAR PRECISA DA EXTENSÃO DO VS CODE "REST Client"

#Variaveis
@baseUrl = http://localhost:4000
@token = a3031d64-7423-4bfc-b43e-6b6f2ab24160

# (Enviar Mensagem) Teste da Rota POST /api/messages/send
POST {{baseUrl}}/api/messages/send
Authorization: Bearer {{token}}
Content-Type: application/json

{
"number": "5522999999999",
"body": "Mensagem de Teste da API com user e queue atualizado",
"userId": "1",
"queueId": "2",
"whatsappId": "1"
}

###

0 comments on commit 93c9e21

Please sign in to comment.