The resource has a new URL, given in the Location header, and clients should use it from now on.
Check whether your client follows the redirect, and whether it preserves the method and body when it does — many libraries silently turn a redirected POST into a GET.
1 endpoint in this playground answers with 301. Every one is free, needs no signup, and can be called from the browser or with curl.
GET https://funapi.dev/api/protocol/v1/moved/old-dashboard — Always. Follow the Location header — real HTTP clients do it automatically. (Protocol Lab API)All HTTP status codes · All 37 mock REST APIs · Getting started guide