1
0
Fork 0
friendica_2020-09-1_sharedH.../mod/amcd.php
2010-11-11 02:49:28 -08:00

26 lines
415 B
PHP

<?php
function amcd_content(&$a) {
header("Content-type: text/json");
echo <<< EOT
{
"methods": {
"username-password-form": {
"connect": {
"method":"POST",
"path":"/login",
"params": {
"username":"login-name",
"password":"password"
}
},
"disconnect": {
"method":"GET",
"path":"/logout"
}
}
}
}
EOT;
killme();
}