301 Moved Permanently
The resource has a new permanent URL.
What it means
Clients should update stored links. Historically some clients changed POST to GET when following it.
What your client should do
Update the stored URL to the Location value. Use 308 if the method must be preserved.
Should you retry?
No. Repeating the same request will give the same result.
Try it
The free practice API returns this status on demand, with the headers a well-behaved API would send. Call GET /api/play/status/301 from Endpoint Client and open the Explain tab.
Related codes
302 Found
The resource is temporarily at another URL.
308 Permanent Redirect
Repeat the same request at a new permanent URL.
Defined in RFC 9110. All status codes and headers