Cake Engineering interview question

How do you achieve idempotent in REST API?