10 lines
313 B
PHP
10 lines
313 B
PHP
<?php
|
|
header('Content-Type: application/json');
|
|
|
|
// In the future, you can add logic here to process $_POST['message']
|
|
// and connect to an AI service.
|
|
|
|
$canned_response = "Thanks for your message! We'll be in touch shortly. For now, this is a canned response.";
|
|
|
|
echo json_encode(['reply' => $canned_response]);
|