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 POST Body Input: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Obsolete|https://github.com/validator/validator/wiki/POST-body-input}}
{{Obsolete|spec=https://github.com/validator/validator/wiki/POST-body-input}}
To use [[Validator.nu Web Service Interface|Validator.nu as a Web service]] by POSTing an entity body, the client issues an HTTP request either to <code>https://validator.nu/</code> or <code>https://html5.validator.nu/</code> using the POST method. The document to check is included as the entity body of the request. The <code>Content-Type</code> request header must be used to communicate the MIME type of the entity body. [[Validator.nu Common Input Parameters|Common parameters]] are encoded as query string parameters.
To use [[Validator.nu Web Service Interface|Validator.nu as a Web service]] by POSTing an entity body, the client issues an HTTP request either to <code>https://validator.nu/</code> or <code>https://html5.validator.nu/</code> using the POST method. The document to check is included as the entity body of the request. The <code>Content-Type</code> request header must be used to communicate the MIME type of the entity body. [[Validator.nu Common Input Parameters|Common parameters]] are encoded as query string parameters.



Revision as of 14:37, 17 March 2015

This document is obsolete.

For the current specification, see: https://github.com/validator/validator/wiki/POST-body-input

To use Validator.nu as a Web service by POSTing an entity body, the client issues an HTTP request either to https://validator.nu/ or https://html5.validator.nu/ using the POST method. The document to check is included as the entity body of the request. The Content-Type request header must be used to communicate the MIME type of the entity body. Common parameters are encoded as query string parameters.

Only & is supported as a query parameter separator. ; is not supported.

Percent-encoded octets in the query string must decode to UTF-8.

See also