Return to site

๐Ÿƒ๐ŸŽ“ SPRING CERTIFICATION QUESTION: What are safe/idempotent REST operations?

December 28, 2022

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