Hi Charles, thanks for your replies folks,
Well, the scenario is request an image from an internal image repository services after getting the id for the image an return in the api response.
I have tested using a reverse proxy to getting the image url and i can see the response with a content type "image/jpg" using the ${response} variable, so i´m using a http route to get the image an return the response directly.
This is working fine for me.
Regards.
------------------------------
[Julio C. Ramos]
[DevOps]
[IT Business Solutions DEF]
[City]
------------------------------
Original Message:
Sent: 01-15-2020 12:36 PM
From: Charles L
Subject: The best practice for get an image with an api
Julio,
Sorry I dont quite understand the question can you give more details and use case?
Are you getting a response from an http route in the gateway, which includes an image (jpg)? And want this to be passed to the browser? Are you trying to change the mime? Or just pass through? Could you add some details?
Thanks..
Original Message:
Sent: 01-13-2020 11:03 AM
From: Julio C Ramos
Subject: The best practice for get an image with an api
Hi Community,
I would like to know wich is the best way for get an image.jpg with an api and if i need an special configuiration for this mime type?
Regards,
Julio Ramos.
------------------------------
[Julio C. Ramos]
[DevOps]
[IT Business Solutions DEF]
[City]
------------------------------