DG
9 years agoOccasional Contributor
Return fixed JPEG in REST MockService
Hi.
I am attempting to mock an RESTful API that we use to download images from a URL.
The API of the RESTful service documentation says: You receive a JPG or PNG image in case of success with the according header (e.g. ContentType: image/jpeg).
How can I setup a mockservice response to do this? I do not need the image in my reponse to be dynamic. I just need a valid JPG to be returned when the mocked URL receives a GET request.
Thanks
Dave