I'm preparing for the SCWCD exam and I had a doubt with the following question...
Which HTTP methods are used to show the client what server is receiving ?
I got this right , it is TRACE. But when I gave it a forethought, I realized that POST, GET could also serve as answers when the context is a development/debugging environment where your application is in the initial stages of development. You can print the response to check the data you sent over through your forms is received properly by your servlet or not... (TRACE also may allow an attacker to steal information such as website credentials so using TRACE to loopback the request is downright incorrect)
And one more thing. For the exam is it essential to memorize the API? like which method is defined in which inteface or which class implements which interface.... ?
What are your thoughts on this? This question should have been a bit more specific.....
[ I may sound stupid in some of my posts, but I confess I'm out of touch with the Java realm since 4 and a half years