Consequences of POST not being idempotent (RESTful API)
I am wondering if my current approach makes sense or if there is a better way to do it. I have multiple situations where i want to create new objects and let the server assign an ID to those objects. Sending a POST request appears to be the most appropriate way to do that. However since POST is not idempotent the request may get lost and sending it again may create a second object. Also requests being lost might be quite common since the API is often accessed through mobile networks. As a result i decided to split the whole thing into a two-step process. First sending a POST request to create