Closed mcxinyu closed 5 months ago
Hi, when adding the body, you should be able to specify this media type, like this:
post("form", {
request {
body {
mediaType(ContentType.Application.FormUrlEncoded)
}
}
}) {
//...
}
thanks.
How do I add a request of type FormUrlEncoded (application/x-www-form-urlencoded) ?