Initial commit: URL Redirect Tracker application with comprehensive documentation
This commit is contained in:
16
public/api.html
Normal file
16
public/api.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>URL Redirect Tracker API</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>URL Redirect Tracker API</h1>
|
||||
<p>The API is available at:</p>
|
||||
<ul>
|
||||
<li><strong>POST /api/v1/track</strong> - Track redirects (JSON body with url, method, userAgent)</li>
|
||||
<li><strong>GET /api/v1/track</strong> - Track redirects (Query params: url, method, userAgent)</li>
|
||||
</ul>
|
||||
<p>Rate limit: 100 requests per hour per IP</p>
|
||||
<p><a href="/">Back to tracker</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user