accept JSON micropub requests and checkins #1677
+115
−27
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
|
@aaronpk No! :) Thank you for this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's what I fixed or added:
With these changes, Known now passes the basic Micropub JSON syntax tests at https://micropub.rocks: 200, 201 and 203. The others will require more substantial changes to how Known stores posts. This is essentially just a syntax transformation from JSON to how Known already handles form-encoded Micropub requests.
This also adds support for handling checkins that OwnYourSwarm sends in JSON format.
Here's why I did it:
Some Micropub clients, such as https://ownyourswarm.p3k.io and https://ownyourgram.com send JSON requests in addition to or instead of form-encoded requests.