Cake Engineering Interview Question

How do you achieve idempotent in REST API?