Microservice that redirects to archived version of the URL if found, otherwise saves it to the Internet Archive.
Base URL: wayback.now.sh
GET /:url
URL must be safely encoded. Eg: encodeURIComponent()
in JavaScript.
Checks whether a cached/archived version of the webpage on the URL is available.
- If available => redirect to the most recent archived version of the webpage.
- If not available => redirect to save webpage link of the Wayback Machine.
Example: wayback.now.sh/mihir.ch redirects to most recent archived version of https://mihir.ch on the Wayback Machine.