What is the best practice if you are implementing web services that will send and receive large files to/from clients. Normally we are sending JSON objects, but it could be problematic if we include large data payload inside of the JSON objects. We need to provide JSON data as well as a payload, anyone have experience with something similar?
Share
You could embed links to the raw data in your JSON responses. For example:
That way you can allow clients to decide whether or not they want to dereference the big file or not.