Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support for tracing REST requests #67

Closed
bobbingwide opened this issue Mar 4, 2018 · 1 comment
Closed

Improve support for tracing REST requests #67

bobbingwide opened this issue Mar 4, 2018 · 1 comment

Comments

@bobbingwide
Copy link
Owner

With the new block editor using REST requests to get the data to display in dynamic blocks and document blocks we need an improved capability of tracing REST requests.
Part of the solution is to support tracing of REST requests to a different set of files
We also need more information in the trace log.
The data to be traced is in the global $HTTP_RAW_POST_DATA.
This is not normally available until the REST API has done its bit.

Hooking into 'rest_pre_echo_response' allows us to see both the incoming request and the response.

@bobbingwide
Copy link
Owner Author

Also update the Tested up to section of the readme.txt file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant