Hi, is it possible to POST e.g. a note to Pleroma user’s inbox using C2S API? I am not sure from reading the AP specs and even not sure after investigating the Pleroma code.
I’m trying to do POST like this:
curl --location --request POST 'https://greenish.red/users/nokton/inbox' \
--header 'Content-Type: application/activity+json' \
--header 'Authorization: Basic ...' \
--data-raw '{"@context": "https://www.w3.org/ns/activitystreams",
"type": "Create",
"to": ["https://greenish.red/users/nokton"],
"actor": "https://greenish.red/users/nokton",
"object": {"type": "Note",
"attributedTo": "https://greenish.red/users/nokton",
"to": ["https://greenish.red/users/nokton"],
"content": "do I need id??"}}'
I guess the problem is there is no HTTP signature ({valid_signature: true}
from the Pleroma source code), but I was hoping I could avoid it when using credentials (Basic auth).
So is there a way to somehow easily POST to user inbox using C2S AP? I’m sure @lanodan will know