• Resolved mattiasf

    (@mattiasf)


    I am developing a REST API that is totally seperate from the WordPress theme (practically another website that calls my WP REST API).

    How can I debug each of the endpoints that I have? I imagine something where I visit the route directly (mostly GET routes I’d like to debug) and then somehow force Query Monitor to appear on that endpoint.

Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Currently Query Monitor only shows you overview information for REST API requests, plus any PHP errors that occurred during the request. The information can be seen in the X-QM-* HTTP headers in the response to an authenticated REST API request. Same for Ajax requests.

    I’ve got a long term plan to expose complete debugging information for REST API requests but I don’t have an ETA currently.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I use this with a REST API?’ is closed to new replies.