Multi-Device REST Application Framework Control Center
Scan this QR with your phone's WhatsApp linked devices tool:
Session currently paired. Ready to handle execution payloads.
curl -X POST http://localhost:6000/api/send \
-H "Content-Type: application/json" \
-d '{
"phone": "201000000000",
"message": "Automated pipeline test payload notifications initialized safely."
}'
<?php
$payload = [
"phone" => "201000000000",
"message" => "Automated pipeline test payload notifications initialized safely."
];
$ch = curl_init("http://localhost:6000/api/send");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Content-Type: application/json"]);
$response = curl_exec($ch);
curl_close($ch);
print_r(json_decode($response, true));
?>
using var client = new HttpClient();
var payload = new
{
phone = "201000000000",
message = "Automated pipeline test payload notifications initialized safely."
};
var response = await client.PostAsJsonAsync("http://localhost:6000/api/send", payload);
string result = await response.Content.ReadAsStringAsync();
Console.WriteLine(result);
const payload = {
phone: "201000000000",
message: "Automated pipeline test payload notifications initialized safely."
};
fetch("http://localhost:6000/api/send", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(payload)
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));