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

Bug: Admin GetRequestAsync does not populate request body for JsonApi ("application/vnd.api+json") content #187

Closed
steveland83 opened this issue Aug 17, 2018 · 1 comment

Comments

@steveland83
Copy link
Contributor

steveland83 commented Aug 17, 2018

If we do a Post/Put to a Wiremock stub with a Json API Request ContentType="application/vnd.api+json" and then we check the detail of the request sent using the GetRequestAsync method on the admin API, then the request body is null. If we do same steps with Json request body ContentType="application/json" this works as expected.

Have created two test methods in WireMock.Net\test\WireMock.Net.Tests\FluentMockServerAdminRestClientTests
in this PR: #186

Happy to work on this if required.

@StefH
Copy link
Collaborator

StefH commented Aug 17, 2018

PR merged.

@StefH StefH closed this as completed Aug 17, 2018
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

No branches or pull requests

2 participants