Add follow-activity JSON

(Tested via Paw.)
parent b7e4e836
......@@ -103,7 +103,7 @@ app.all('/', function (req, res, next) {
res.format({
'text/html': function () {
res.send('<h1>Hello, world</h1>')
res.send('ActivityPub Spike')
},
'application/ld+json; profile="https://www.w3.org/ns/activitystreams"': function () {
......
{
"@context": [
"https://www.w3.org/ns/activitystreams"
],
"id": "https://aral.localtunnel.me#follows/1",
"type": "Follow",
"actor": "https://aral.localtunnel.me",
"object": "https://mastodon.ar.al/users/aral"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment