Location Header
noun
say it: “loh-KAY-shun HED-er” /loʊˈkeɪʃən ˈhɛdər/
A response header giving the address of a newly created resource, or where to redirect.
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
In a sentence
- “The 201 response's Location header pointed to /api/products/78.”
Level: Journeyman · More REST API terms at this level
Updated