My API should respond with an image when I make the request. (Happy Path)
It does return the jpeg image as expected when I make the response in the POSTMAN.
Issue:
It returns binary when I make the request in the devportal. But the status code is 200.
FYI:
Are you using the drupal portal?
If so, You will probably need to modify the smartdocs Javascript files to accomodate an image return value.