mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-21 08:21:53 +02:00
post_with_query ; 4 params
This commit is contained in:
@@ -497,7 +497,11 @@ namespace WireMock.Net.ConsoleApplication
|
|||||||
.Given(Request.Create()
|
.Given(Request.Create()
|
||||||
.UsingPost()
|
.UsingPost()
|
||||||
.WithPath("/post_with_query")
|
.WithPath("/post_with_query")
|
||||||
|
.WithHeader("PRIVATE-TOKEN", "t")
|
||||||
.WithParam("name", "stef")
|
.WithParam("name", "stef")
|
||||||
|
.WithParam("path", "p")
|
||||||
|
.WithParam("visibility", "Private")
|
||||||
|
.WithParam("parent_id", "1")
|
||||||
)
|
)
|
||||||
.RespondWith(Response.Create()
|
.RespondWith(Response.Create()
|
||||||
.WithBody("OK : post_with_query")
|
.WithBody("OK : post_with_query")
|
||||||
|
|||||||
Reference in New Issue
Block a user