ew00github / HTTPCatClone

Recreation of http.cat
0 stars 0 forks source link

Add a new endpoint which acts like the other image endpoints, but gets the image from https://http.cat/[status_code] #11

Closed BradRammel closed 11 months ago

BradRammel commented 11 months ago

This isn't really necessary, but we do this sort of thing a lot at work since most of our applications consist of multiple backend services and they need to get data from each other. See if you can figure out how to use WebClient or FeignClient to send an http request to the https://http.cat/[status_code] url and return the image from that instead of the value from the DB.