Claude Moore wrote:If you specify GET method with @Requestmapping, the Rest endpoint will respond only to GET requests. Are you really sure you are POSTing a request???
What happens using curl - for example ?
Hi, I thought I was supposed to use "GET" since this is getting student name. So it works fine when you use "GET" and view it from URL on a browser.
What confused me was --- When I use Postman tool, when I specify "GET" I couldn't get results. But when I specify "POST" it returns data. I don't understand why.