Let's send a test request and see what response we get. The following screenshot shows the response:
The response for the http://localhost:8080/welcome-with-parameter/name/Buddy URL is as follows:
{"message":"Hello World, Buddy!"}
As expected, the name in the URI is used to form the message in the response.