post
fun MockMvc.post(urlTemplate: String, vararg vars: Any?, dsl: MockHttpServletRequestDsl.() -> Unit = {}): ResultActionsDsl
Content copied to clipboard
fun MockMvc.post(uri: URI, dsl: MockHttpServletRequestDsl.() -> Unit = {}): ResultActionsDsl
Content copied to clipboard
MockMvc extension providing access to MockHttpServletRequestDsl Kotlin DSL.
Author
Sebastien Deleuze
Since
5.2
See also
org.springframework.test.web.servlet.request.MockMvcRequestBuilders