mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
Return same request body #229
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 @hsnsalhi on GitHub (Nov 29, 2019).
Hello,
In the response.body I want to return the same request.body
For that I use the transformer but it transforms quotes too.
Here is an example:
When I test with
I get
@StefH commented on GitHub (Nov 29, 2019):
Can you try BodyAsJson?
@hsnsalhi commented on GitHub (Nov 29, 2019):
I get an exception
@StefH commented on GitHub (Nov 30, 2019):
1]
Use the triple-stash syntax:
{{{request.body}}}--> https://github.com/rexm/Handlebars.Net/issues/552]
Try new preview NuGet:
WireMock.Net.1.0.38-ci-12259.nupkg@StefH commented on GitHub (Dec 3, 2019):
@hsnsalhi Can you try if this version solves your issue?
@StefH commented on GitHub (Dec 6, 2019):
@hsnsalhi Did you time to test this one?
@StefH commented on GitHub (Dec 10, 2019):
@hsnsalhi Can you please test?
@StefH commented on GitHub (Dec 17, 2019):
@hsnsalhi Can you please test?
@StefH commented on GitHub (Dec 26, 2019):
PR merged to master.