mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Webhook with generic url, body and custom header values #454
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 @ouell on GitHub (Sep 30, 2022).
In the java version we have:
I pass the url with some parts of the request and the body.
In .net i try make something like:
I don't know how to pass the custom header.
And dosen't transform the fields in url
@StefH commented on GitHub (Sep 30, 2022):
@ouell
That
"x-origem"should work, did you test that it doesn't work?And indeed, only the body and the headers can be transformed for now, however I can add logic to also transform the url.
@StefH commented on GitHub (Oct 1, 2022):
Preview version
1.5.6-ci-16508supports transforming the url.See https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions
https://github.com/WireMock-Net/WireMock.Net/pull/824
@StefH commented on GitHub (Oct 3, 2022):
@ouell
Did you have time to test this?
@StefH commented on GitHub (Oct 12, 2022):
Can you please test?
Preview version = 1.5.7-ci-16520
@StefH commented on GitHub (Oct 15, 2022):
PR is merged to master.
A new official NuGet will be released this weekend.