HTTP 301 Lab

HTTP 301 Moved Permanently is the standard way to tell clients and search engines that a resource has permanently moved to a new URL. The client SHOULD use the new URL for all future requests. Search engines transfer link equity (PageRank) to the new URL, making 301 the primary tool for URL migration, domain changes, and site restructuring. Critically, many browsers change POST to GET on 301 redirects — if method preservation matters, use 308 instead.

Try it (live endpoint)

Response includes the status code, standard headers (including Content-Type), and a small diagnostic JSON body describing the request and returned status.

Simulator URL (copy in the app after load — not a normal link):

https://httpstatus.com/api/status/301

Example request:

curl -i "https://httpstatus.com/api/status/301"
Try in playground