HTTP 308 Permanent Redirect is similar to 301 Moved Permanently but explicitly requires that the request method and body must not change when following the redirect. This is the correct redirect for APIs that need to permanently move endpoints while preserving POST, PUT, and DELETE methods.
An API versioning change requires redirecting requests to a new path while preserving the HTTP method.
The server permanently redirects all HTTP traffic to HTTPS while preserving request methods.
Since this is a permanent redirect, update all references to use the new URL directly.
Check the Location header for the new permanent URL.
curl -I https://example.com/api/v1/resource
If the redirect involves a domain change, verify DNS is resolving correctly.
Check Propagation