format=json for non-image should return JSON
closed
J
Jim WInstead
It would be handy if the format=json transformation returned some sort of JSON response instead of the original file when it is not an image.
Log In
Aditya Patadia
marked this post as
closed
Anshul
Can you share a use case for this? Because
format=json
is not a supported parameter. If you can give an example, that would helpJ
Jim WInstead
Anshul: Not sure why you would say format=json is not supported, it does return useful information in JSON format for images. For example:
The problem is that for non-images, it just passes through the original file. When that original file is large, that's just a waste of time and resources. I'd rather get an error message.