jpeg Image(API response) is not getting displayed in devportal?

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:

0 1 263
1 REPLY 1

Are you using the drupal portal?

If so, You will probably need to modify the smartdocs Javascript files to accomodate an image return value.