Return to site

🍃🎓 SPRING CERTIFICATION QUESTION: What are safe/idempotent REST operations?

· spring,vcp,java

Answer:

Safe/idempotent REST operations are the operations which 𝐝𝐨 𝐧𝐨𝐭 𝐦𝐨𝐝𝐢𝐟𝐲 resource

or more specifically do not modify resource representation

(they can actually change some data on the server side, e.g. requests number).

Safe operations are related to the following HTTP methods:

- GET

- HEAD

- OPTIONS

- TRACE

#spring #certificationquestion #vcp