How to implement idempotent in rest. This may not be idempotent.