AI engineering glossary · Web APIs HTTP

What is redirect?

Redirect (also called 301 Moved Permanently, 302 Found): A 3xx response telling the client the resource is elsewhere, with the new address in the Location header. 301 marks a permanent move and 302, 307 or 308 a temporary one. Clients such as browsers and HTTP libraries usually follow it automatically.

Level: intermediateTopic: Web APIs HTTP

Redirect: an example

Visiting http://example.com returns 301 to https://example.com, and the browser follows.

Related terms

More Web APIs HTTP terms

Where you learn it

Redirect is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.