Refresh URL

Overview

This API provides a simple redirection service that utilizes the Discord API to refresh URLs. If the URL is successfully refreshed, the user will be redirected to the new URL; otherwise, they will be redirected to a default fallback URL.

Endpoints

GET https://api.animemoe.us/discord/refresh/

This endpoint handles the redirection based on the provided URL.

Request Parameters

  • url (string): The original URL that needs to be refreshed. This parameter is required.

Response

  • Success: Redirects to the refreshed URL.

  • Failure: If the URL cannot be refreshed, redirects to the default fallback URL.

Example Request

https://api.animemoe.us/discord/refresh?url=https://cdn.discordapp.com/attachments/858938620425404426/1275631907933261897/animemoeus-waifu.jpg

Example Response

Success:

  • Redirects to the refreshed URL

Failure:

  • Redirects to the fallback URL

Last updated