John and Peter have written a Web API method to update PhoneNumber.

John says HttpPut attribute should be used to update any value.

Peter says HttpHead attribute can also be used.

Which of the given statement is correct?      

Only John’s statement is correct.
Only Peter’s statement is correct.
None of the statement is correct.
Both the statements are correct.
Verified Answer
Correct Option - a

To get all Infosys Certified Dotnet Core Web API Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram