801
I hate API like this
(i.imgur.com)
Post funny things about programming here! (Or just rant about your favourite programming language.)
It's hard when you hit an endpoint that hits another endpoint, because technically the first request IS a 200. No right or wrong way as long as they are consistent and document it clearly imo
X-Forwarded?
Can / should you use it for anything other than IPs?
Well, if its acting as a proxy, then the status code should be transmitted intact right?
It's not really a proxy, it's just making another request as part of its request