mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Multipart validation #528
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 @vhmoura on GitHub (Jul 18, 2023).
Hi,
How do we validate a request that contains a json body and multiform data (an image for example)?
I can't find any matcher for it.
Thanks,
V
@StefH commented on GitHub (Jul 19, 2023):
Currently there is no special logic to parse a multipart and match the parts. I'll need to think on this how to could be added and how this could be used.
@StefH commented on GitHub (Jul 25, 2023):
@vhmoura
I'm working on this, you can try a preview version
1.5.32-ci-17662.(https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions)
Use it like:
Or in JSON:
@StefH commented on GitHub (Jul 31, 2023):
@vhmoura
Did you have time to check that specific preview version?
@StefH commented on GitHub (Aug 3, 2023):
@vhmoura
Did you have time to check that specific preview version?
It would really help if you can try this version before I merge to this main and create a new official version.
@vhmoura commented on GitHub (Aug 3, 2023):
Hi. I didn’t. Sorry I was quite busy making loads of tests but based on what you are showing looks ok to me.
@StefH commented on GitHub (Aug 3, 2023):
https://github.com/WireMock-Net/WireMock.Net/pull/981