Monday, 18 November 2019

Best way to design API for saving multiple related data?

Hi everyone,I'm creating an API to save a form data on server. The form contains information of a place and related images to that place. The number of images has no limits. Currently, i'm saving the place detail first and returning its ID, using which all the images are being saved related to that place, one by one. Is this a right approach? What if internet connection fails sfter few images ?Please suggest. Thanks.

Submitted November 19, 2019 at 04:42AM by black_loop

No comments:

Post a Comment