79725328

Date: 2025-08-04 19:53:24
Score: 0.5
Natty:
Report link

For requests that may take a long time, consider using a callback mechanism.

  1. Generate a unique identifier for the request (e.g., UUIDv4) and store it (e.g., in a database) along with a mapping to the file you're downloading from the other endpoint.

  2. Return a callback URL to the client that includes this unique ID.

The client can then poll the callback URL to check if the file is ready.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: mstrewe