Lompat ke konten

Cara mudah kirim pesan whatsapp API via whacenter dengan metode GET menggunakan PHP

Cara mudah kirim pesan whatsapp API via whacenter dengan metode GET menggunakan PHP

Pesan TEXT

<?php
$result = file_get_contents("https://app.whacenter.com/api/send?device_id=xxx&number=xxx&message=hai")

echo "<pre>";
print_r($result);

?> 

Pesan file / gambar

<?php
$result = file_get_contents("https://app.whacenter.com/api/send?device_id=xxx&number=xxx&message=hai&file=url-file-gambar")

echo "<pre>";
print_r($result);

?> 

Powered by BetterDocs

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *