up
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?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';
|
||||
Reference in New Issue
Block a user