16 lines
405 B
PHP
16 lines
405 B
PHP
<?php
|
|
ini_set('display_errors',1);
|
|
error_reporting(E_ALL);
|
|
|
|
// Test calling API endpoint internally by setting input stream
|
|
$payload = json_encode([
|
|
'to' => '573001234567',
|
|
'message_id' => '<TEST_MSGID>',
|
|
'emoji' => '👍',
|
|
'dry_run' => true
|
|
]);
|
|
|
|
file_put_contents('php://memory', $payload); // no effect; instead call service directly
|
|
|
|
require_once __DIR__ . '/../api/send_reaction.php';
|