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
(See also)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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>http://validator.nu/</code> or <code>http://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. Common parameters are encoded as query string parameters.
{{Obsolete|spec=https://github.com/validator/validator/wiki/Service-»-Input-»-POST-body}}
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.


Only <code>&</code> is supported as a query parameter separator. <code>;</code> is not supported.
Only <code>&</code> is supported as a query parameter separator. <code>;</code> is not supported.
Line 7: Line 8:
==See also==
==See also==
*[[Validator.nu Web Service Interface]]
*[[Validator.nu Web Service Interface]]
[[Category:Validator.nu Documentation]]

Latest revision as of 04:29, 29 December 2016

This document is obsolete.

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

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