79592501

Date: 2025-04-25 12:21:50
Score: 1.5
Natty:
Report link

The best thing to do would be to set up a dedicated /edit endpoint which accepts a unique identifier and only the fields you wish to edit. That way, if you POST to this endpoint with just a new description for example, you won't need to include all of the images in the POST request. You would simply update the Mongo document with the new description, rather than rewriting the entire thing.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Danny V