Get multiple String parameters using form data in a POST method

Viewed 10

I want to get multiple String parameters as form data under the body section, using @RequestParam doesn't recognise form data. And how to use @RequestBody for getting multiple strings as form data, I see some extra output coming there and is not as expected, I wanted the output to be "Hi RAVI"

Post mapping code

Hitting the API at Postman

0 Answers
Related