Wrong API MIME Type #25
Replies: 2 comments 1 reply
-
This API call (https://dog.ceo/api/breeds/image/random) is supposed to simply return a random image of a dog. However, instead of returning an image file directly, it returns a JSON object with a link to that image, even when the call is made through a browser. I would argue that the API should return an image/* MIME type directly, instead of having a layer of indirection.
|
Beta Was this translation helpful? Give feedback.
-
@calebkbrad in this case the |
Beta Was this translation helpful? Give feedback.
-
Find an "in the wild" examples of an API with a MIME type of
application/json
that should be something else and suggest what the MIME type should be.Beta Was this translation helpful? Give feedback.
All reactions