How does the HTTP POST Location header work for redirecting responses? or When should you use the HTT

20 Replies, 1794 Views

Wow, thanks for all the insights! Didn’t realize the http post location header was so client-dependent.

I tried logging the response in my app, and yeah—the header’s there, but my HTTP library (axios) wasn’t doing anything with it. Setting `maxRedirects` fixed it.

Still confused why some APIs use it with 200 though. Feels like a bad practice. Anyone else run into that?

Messages In This Thread



Users browsing this thread: 1 Guest(s)