RESP API routes not working
-
It seems the rest routes “status” and “clear_cache” aren’t working. GET /wp-json/hummingbird/v1/clear_cache?module=page_cache for example returns a rest_no_route error. I’ve tried different values for module or omitting it completly with the same result.
I also appears to be incorrectly registered. register_rest_route is missing the args parameter and instead adds the module field directly after permissions_callback, unlike how status is setup. None of the regex used for matching the arguments work though.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘RESP API routes not working’ is closed to new replies.