Location header with POST is weird, right? It’s mostly for 201, but I’ve seen it with 303 (See Other) too.
The client has to opt-in to follow it. For example, in JavaScript fetch(), you’d need to manually check the headers and redirect.
If you’re testing, use Chrome DevTools—the Network tab shows headers and whether a redirect happened.
The client has to opt-in to follow it. For example, in JavaScript fetch(), you’d need to manually check the headers and redirect.
If you’re testing, use Chrome DevTools—the Network tab shows headers and whether a redirect happened.
