WWW

HTML Clean

Clean and sanitize untrusted HTML

post/html-clean

Request

  • Base URL
    https://neutrinoapi.net
  • Auth
    API key in header user-id and API key in header api-key

Request body application/x-www-form-urlencoded

contentstring required

The HTML content. This can be either a URL to load from, a file upload (multipart/form-data) or an HTML content string

output-typestring required

The level of sanitization, possible values are: <br> <b>plain-text</b>: reduce the content to plain text only (no HTML tags at all) <br> <b>simple-text</b>: allow only very basic text formatting tags like b, em, i, strong, u <br> <b>basic-html</b>: allow advanced text formatting and hyper links <br> <b>basic-html-with-images</b>: same as basic html but also allows image tags <br> <b>advanced-html</b>: same as basic html with images but also allows many more common HTML tags like table, ul, dl, pre <br>

Response

OK

string binary required

Changes

No recorded changes to this operation across all 4 revisions of this API.