Best way to design API for saving multiple related data?

Post Reply
Roberts13
Posts: 1
Joined: 26 May 2021, 07:01

26 May 2021, 11:14

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.
tp link login
sarkari job
192.168.1.128
Last edited by Roberts13 on 07 Jun 2021, 22:10, edited 1 time in total.

siris
Posts: 322
Joined: 29 Jul 2019, 13:57

26 May 2021, 13:06

Hi,

Please ask your question again under PrimeFaces topic: viewforum.php?f=3. This topic is for theme designer. Thank you for your understanding.

Best Regards,

Post Reply

Return to “PrimeFaces Theme Designer API”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests