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

Log request body as a string #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Log request body as a string #8

wants to merge 2 commits into from

Conversation

marras
Copy link
Contributor

@marras marras commented Jan 20, 2022

Right now, when making a POST request to the mimic-server, the logs display the request body as a hex buffer like

<Buffer A0 EE 17 8C ...>

Instead, let's render it as a string (>95% of our use cases are JSON files anyway, so it would be nice to see which body contents were matched).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant