Kevin Powell - CommunityKP-C
Kevin Powell - Communityโ€ข6mo agoโ€ข
13 replies
Faker

Idempotent vs Safe HTTP Methods

Hello, was just reading a bit about HTTP Methods. From what I've understood, a safe HTTP request/method is one that doesn't change anything. For example a GET will only retrieve information without changing their values. Similarly, the OPTIONS http method creates a request that ask the server what the client is allowed to do (used in preflight
CORS
).

Now, idempotent means one that has no side effects. That is, it's a method that will always produce the same result. Here is where I have some confusion, when we talk about idempotent in this case, we are talking about how the values are sent?
Was this page helpful?