Location Header

A header pointing to a new resource or a redirect target.

What is Location Header?

The Location header points to a URL: the new resource after 201 Created, or where to go next after a redirect.

HTTP/1.1 201 Created
Location: https://api.example.com/recipes/43

Level: Journeyman · More Web Development terms at this level

Updated