mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Interesting Stuff
This commit is contained in:
1 parent
c774ad90c2
commit
a1cfb21a81
4 files changed
+31
-7
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
class GoogleHome {
|
||||
function response()
|
||||
{
|
||||
header('Content-Type: application/json');
|
||||
$update_response = file_get_contents("php://input");
|
||||
$update = json_decode($update_response, true);
|
||||
echo '"RichResponse": {
|
||||
"items": [
|
||||
{
|
||||
"simpleResponse": {
|
||||
"textToSpeech": "test speech"
|
||||
}
|
||||
}
|
||||
]
|
||||
}';
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user