Relative Content

Tag Archive for servertransactionsbackend

Server End – How to ensure the transaction between several POST calls?

Suppose we have a need to receive data from frontend and insert them into 3 table, and they have this "foreign key" relathinship.
If we provide frontend 3 separate POST methods, and they submit all the data in one “submit” action. And these three methods don’t have a step by step work flow like this one
How can we ensure the transaction between the 3 POST calls?