How To use spring boot webclient
for posting request with content type application/x-www-form-urlencoded
sample curl request with content type `application/x-www-form-urlencoded'
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username=XXXX' \
--data-urlencode 'password=XXXX'
How Can i send same request using webclient?
org.springframework.web.reactive.function.UnsupportedMediaTypeException: Content type 'application/x-www-form-urlencoded' not supported for bodyType=org.springframework.web.reactive.function.BodyInserters$DefaultFormInserter
– Antitragus