👉 ​INFORMAÇÕES BÁSICAS - SE VOCÊ NÃO É PROGRAMADOR, ESSE CONTEÚDO É ESSENSICAL PARA VOCÊ AVANÇAR

👨‍🏫 INTRO 04

Arquivo dessa aula: botzdg_post.rar

Requisicoes tipo post (ARC e novos posts + documentacao)

Download ARC (Chrome): Advanced REST client - Chrome Web Store

Download ARC Windows:  https://install.advancedrestclient.com/install

Download ARC demais sistemas: https://github.com/advanced-rest-client/arc-electr...

Documentação: https://docs.wwebjs.dev/

Documentação post: botzdg_post.rar


POST: http://localhost:8000/send-message

HEADER

content-type​: application/x-www-form-urlencoded

BODY

number: 553588754197

message: oi teste


POST: http://localhost:8000/send-media (MEDIA DE URL)

HEADER

content-type​​: application/x-www-form-urlencoded

BODY

number: 553588754197

file: https ://zapdasgalaxias.com.br/wp-content/uploads/2020/11/mock2.png

caption: titulo novo 3


POST: http://localhost:8000/send-media2 (MEDIA LOCAL)

HEADER

content-type​​: application/x-www-form-urlencoded

BODY

number: 553588754197

file: icon.png

caption: titulo novo 3


POST: http://localhost:8000/send-location (LOCALIZAÇÃO)

HEADER

content-type​​: application/x-www-form-urlencoded

BODY

number: 553588754197

lat: 37.422

long: -122.084

​title: TITULO LOCAL

footer: RODAPE LOCAL


POST: http://localhost:8000/send-list (LISTAS)

HEADER

content-type​​: application/x-www-form-urlencoded

BODY

number: 553588754197

sectionTitle: TITULO DA SESSÃO

ListItem1: ITEM 1

desc1: DESCRICAO 1

​ListItem2: ITEM 2

desc2: DESCRICAO 2

​Title: TITULO

footer: RODAPE

​Listbody: CORPO DA MENSAGEM

btnText: BOTAO DE AÇÃO


POST: http://localhost:8000/send-record (AUDIO GRAVADO URL) - FORMATO OGG

HEADER

content-type​​: application/x-www-form-urlencoded

BODY

number: 553588754197

file: http s://zapdasgalaxias.com.br/audio.ogg


POST: http://localhost:8000/send-record2 (AUDIO GRAVADO LOCAL) - FORMATO OGG

HEADER

content-type​​: application/x-www-form-urlencoded

BODY

number: 553588754197

file: ./audio.ogg


POST: http://localhost:8000/send-vcard (VCARD)

HEADER

content-type​​: application/x-www-form-urlencoded

BODY

number: 553588754197

nome: Nome teste

email: teste@teste.com

telefone: 5535988754197

info: info adicionais​​​​