Add initial debug data for Actor Inbox
This commit is contained in:
parent
b7ac51a967
commit
aa196d383a
@ -65,6 +65,9 @@ class apActorInboxAction extends ManagedAction
|
|||||||
ActivityPubReturn::error("C2S not implemented just yet.");
|
ActivityPubReturn::error("C2S not implemented just yet.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
common_debug('ActivityPub Inbox: Received a POST request.');
|
||||||
|
$data = file_get_contents('php://input');
|
||||||
|
common_debug('ActivityPub Inbox: Request contents: '.$data);
|
||||||
$data = json_decode(file_get_contents('php://input'));
|
$data = json_decode(file_get_contents('php://input'));
|
||||||
|
|
||||||
// Validate data
|
// Validate data
|
||||||
|
@ -56,7 +56,6 @@ class apSharedInboxAction extends ManagedAction
|
|||||||
}
|
}
|
||||||
|
|
||||||
common_debug('ActivityPub Shared Inbox: Received a POST request.');
|
common_debug('ActivityPub Shared Inbox: Received a POST request.');
|
||||||
|
|
||||||
$data = file_get_contents('php://input');
|
$data = file_get_contents('php://input');
|
||||||
common_debug('ActivityPub Shared Inbox: Request contents: '.$data);
|
common_debug('ActivityPub Shared Inbox: Request contents: '.$data);
|
||||||
$data = json_decode(file_get_contents('php://input'));
|
$data = json_decode(file_get_contents('php://input'));
|
||||||
|
Reference in New Issue
Block a user