← Back to Home

Generate Links

/links/:n
Generates a page with n links.

Parameters

n path
Number of links to generate

Examples

curl
curl https://tcpdata.com/links/10
JavaScript (fetch)
fetch('https://tcpdata.com/links/10')
  .then(res => res.text())
  .then(html => console.log(html));
Python (requests)
import requests

response = requests.get('https://tcpdata.com/links/10')
print(response.text)