mentorcodeteknologi / konstruksi-waspada

MIT License
0 stars 0 forks source link

Create API Whatsapp #7

Open mentorcodeteknologi opened 9 months ago

prayogaep commented 9 months ago

Create API QRCODE Done Create API token jwt done

Repository : github.com/mentorcodeteknologi/wa-web

run local sudah ada di readme

Endpoint :

  1. "/api/login" -> param { username : "user" , password : "password" } //sample
  2. "/api/qr-code" -> param {authoriztion : "Bearer ${token}"}
  3. "/api/send-message" -> param {authorization : "Bearer ${token}", number : "62...", message : "OTP message"}

notes :

  1. Get token access /api/login param yang di kirim username value "user" dan password value "password" 2.number must be start with country code