This is a simple URL shortener service. To create shortened URLs, use the API endpoint.
To create a shortened URL, send a POST request to http://2legitreviews.com/short/shorten with the following:
Content-Type: application/json X-API-Key: b00f7b71be902b811d5dbf878f2d0f83
{
"url": "https://example.com/your-long-url"
}
curl -X POST \
http://2legitreviews.com/short/shorten \
-H 'Content-Type: application/json' \
-H 'X-API-Key: b00f7b71be902b811d5dbf878f2d0f83' \
-d '{"url":"https://example.com/your-long-url"}'
{
"id": 1,
"code": "abc123",
"destination_url": "https://example.com/your-long-url",
"short_url": "http://2legitreviews.com/to/abc123"
}