An HTTP method is idempotent if an identical request can be made once or several times in a row with the same effect while leaving the server in the same state.
An HTTP method is idempotent if an identical request can be made once or several times in a row with the same effect while leaving the server in the same state.
https://developer.mozilla.org/en-US/docs/Glossary/Idempotent
An HTTP method is safe if it doesn't alter the state of the server.
An HTTP method is safe if it doesn't alter the state of the server.
https://developer.mozilla.org/en-US/docs/Glossary/safe
IllegalArgumentException
If the method value is not a valid token.