← Back to Home

HTML Form

/forms/post
Returns an HTML form that submits to /post.

Examples

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

response = requests.get('https://tcpdata.com/forms/post')
print(response.text)