Skip to content

Instantly share code, notes, and snippets.

@dougbeal
Created August 8, 2018 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dougbeal/8bdac6f550047ec31d3b487463d6a30c to your computer and use it in GitHub Desktop.
Save dougbeal/8bdac6f550047ec31d3b487463d6a30c to your computer and use it in GitHub Desktop.
micropub.rocks wp media endpoint error
✔ Returned HTTP 200
✖ Returned a JSON object with a media-endpoint property with the full URL of the endpoint
Response
HTTP/1.1 200 OK
Server: nginx/1.15.0
Date: Wed, 08 Aug 2018 16:57:26 GMT
Content-Type: application/json; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/7.2.6
Link: <https://dougbeal.com/wp-json/indieauth/1.0/token>; rel="token_endpoint"
Link: <https://dougbeal.com/?micropub=endpoint>; rel="micropub"
Link: <https://dougbeal.com/wp-json/webmention/1.0/endpoint>; rel="webmention"
Link: <https://dougbeal.com/wp-json/webmention/1.0/endpoint>; rel="http://webmention.org/"
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
{
"syndicate-to": [
{
"uid": "bridgy-publish_twitter",
"name": "Twitter via Bridgy Publish"
},
{
"uid": "bridgy-publish_flickr",
"name": "Flickr via Bridgy Publish"
},
{
"uid": "bridgy-publish_github",
"name": "Github via Bridgy Publish"
}
],
"media-endpoint": "https://dougbeal.com/wp-json/micropub/1.0/media"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment