Verified Commit 34abd390 authored by Aral Balkan's avatar Aral Balkan
Browse files

Add note on Mastodon’s content type to ActivityPub spike

parent 7373a5cf
......@@ -50,6 +50,8 @@ The content type for the JSON body parser in Express must be set to the Activity
app.use(express.json({type: ['application/json', 'application/activity+json', 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"']}))
```
Note: Mastodon uses the `application/activity+json` content type (which is _should_ not _must_ in the spec. Supporting both is the safest route.)
### Perceived behaviour from Mastodon interactions
#### Initial actor request flow
......
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