Requests fail due to extra slash
-
I get the following error when I try to request any of the routes(except for
/
):No route was found matching the URL and request method
In my Network console, I see that the requested URL looks like this:
https://domain.com/wp-json//wp/v2/statuses
– the double seems to be the culprit, because when I open up in my browserhttps://domain.com/wp-json/wp/v2/statuses
I get a proper response.I’m not sure where that extra slash is coming from though – I use the suggested URLs and they all seem to get the same error.
I do have WordPress in a sub-directory if that makes any difference.I will gladly provide more debugging info to try and figure out if this is something wrong on my end or just an edge case bug.
- The topic ‘Requests fail due to extra slash’ is closed to new replies.