Competely confused on REST API
-
I’m trying to setup Threadreader to post to my blog. The instructions are found here: https://www.patreon.com/posts/37591240
I have both the IndieAuth (3.5.0) and the MicroPub (2.2.2) plugins installed.I’m running WordPress version 5.5 and both plugins are up to date.
When I test here, I get prompted for a login, and it works as expected: https://indieauth.com (Scroll down to the Try it form.)
But, when I test the same thing on Treadreader, I get this:
{“code”:”rest_no_route”,”message”:”No route was found matching the URL and request method”,”data”:{“status”:404}}When I look at the server logs, I notice significant differences between the two requests.
IndieAuth
“POST /wp-login.php?client_id=https%3A%2F%2Findieauth.com%2F&redirect_uri=https%3A%2F%2Findieauth.com%2Fauth%2Find
ieauth%2Fredirect&state=0fa997183894c018d5ee8bf97e0d04b3&me=https%3A%2F%2Fwww.tx
antimedia.com%2F&response_type=id&action=indieauth HTTP/1.1” 302 –
“POST /index.php?rest_route=/indieauth/1.0/auth HTTP/1.1” 200 40Threadreader
“GET /index.php?rest_route=/indieauth/1.0/auth?client_id=https%3A%2F%2Fthreadreaderapp.com&me=https%3A%2F%2Fwww.txantimedia.com%2F&redirect_uri=https%3A%2F%2Fthreadreaderapp.com%2Fmicropubs%2Fcallback&response_type=code&scope=create&state=4485 HTTP/1.1” 404 116You’ll notice that the IndieAuth requests come in as POST requests but the Threadereader requests is a GET request. Furthermore, the Threadreader request appears (to me) to never attempt to login.
So, is this a problem with Threadreader’s setup? Or is it a problem with my site?
Note: when I got to https://www.txantimedia.com/wp-json/ I get a 404. I don’t know if this is a problem or not.
The page I need help with: [log in to see the link]
- The topic ‘Competely confused on REST API’ is closed to new replies.