Expect raw JSON from POST to inbox
Committed c198fd
--- a/webint_mentions/__init__.py
+++ b/webint_mentions/__init__.py
# TODO https://indieweb.org/Salmention
# TODO https://indieweb.org/Vouch
+import json
+
import newmath
import web
import webagt
def post(self):
"""ActivityPub Inbox."""
- form = web.form()
+ data = json.loads(web.tx.request.body._data)
from pprint import pprint
- pprint(form)
+ pprint(data)