mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Bug: Admin GetRequestAsync does not populate request body for JsonApi ("application/vnd.api+json") content #134
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @steveland83 on GitHub (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 bodyContentType="application/json"this works as expected.Have created two test methods in WireMock.Net\test\WireMock.Net.Tests\FluentMockServerAdminRestClientTests
in this PR: https://github.com/WireMock-Net/WireMock.Net/pull/186
Happy to work on this if required.
@StefH commented on GitHub (Aug 17, 2018):
PR merged.