A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

Validator.nu Textarea Input: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
m (Validator.nu x-www-form-urlencoded Input moved to Validator.nu Textarea Input: Forgot how I implemented it...)
(oops. form-data)
Line 1: Line 1:
To use [[Validator.nu Web Service Interface|Validator.nu as a Web service]] by POSTing a text field, the client issues an HTTP request either to <code>http://validator.nu/</code> or <code>http://html5.validator.nu/</code> using the POST method with an <code>application/x-www-form-urlencoded</code> entity body. [[Validator.nu Common Input Parameters|Common parameters]] are encoded as form fields. The document to check is included as the value of a form field called <code>content</code>. The <code>content</code> field must be the last field in the submission.
To use [[Validator.nu Web Service Interface|Validator.nu as a Web service]] by POSTing a text field, the client issues an HTTP request either to <code>http://validator.nu/</code> or <code>http://html5.validator.nu/</code> using the POST method with an <code>multipart/form-data</code> entity body. (<code>application/x-www-form-urlencoded</code> is ''not'' supported.) [[Validator.nu Common Input Parameters|Common parameters]] are encoded as form fields and must decode as UTF-8. The document to check is included as the value of a form field called <code>content</code>. The <code>content</code> field must be the last field in the submission.
 
Percent-encoded octets must decode to UTF-8.


==See also==
==See also==
*[[Validator.nu Web Service Interface]]
*[[Validator.nu Web Service Interface]]

Revision as of 11:51, 27 November 2007

To use Validator.nu as a Web service by POSTing a text field, the client issues an HTTP request either to http://validator.nu/ or http://html5.validator.nu/ using the POST method with an multipart/form-data entity body. (application/x-www-form-urlencoded is not supported.) Common parameters are encoded as form fields and must decode as UTF-8. The document to check is included as the value of a form field called content. The content field must be the last field in the submission.

See also