HTMLpad

v1.0.0
org.htmlpad/htmlpad Checked 4 days ago Published 23 days ago

Publish HTML pages and get a shareable link.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

publish_html Publish HTML

Publish an HTML page on HTMLpad and get a public link to share. Returns the link, a private edit link and an edit token. Free pads stay online for 90 days. Pages may not contain password or payment card fields.

ParameterTypeDescription
html *stringA complete HTML document or fragment, up to 512 KB.
addressstringOptional address for the page, as in htmlpad.org/<address>/. Letters, numbers, dots, dashes or underscores, up to 64.

update_pad Update a pad

Replace the HTML of a pad you published, using the edit token returned by publish_html. Saving also resets its 90 days.

ParameterTypeDescription
address *stringThe pad address, as in htmlpad.org/<address>/.
edit_token *stringThe edit token returned when the pad was published.
html *stringThe new HTML, up to 512 KB.

get_pad Read a pad

Get the HTML of a public pad on HTMLpad.

ParameterTypeDescription
address *stringThe pad address, as in htmlpad.org/<address>/.