W3C home > Mailing lists > Public > www-validator@w3.org > August 2012

Re: How To Validate a HTML file using W3c API

From: David Dorward <david@dorward.me.uk>
Date: Thu, 23 Aug 2012 10:26:06 +0100
Cc: Jaime Iniesta <jaimeiniesta@gmail.com>, www-validator@w3.org
Message-Id: <3408E40E-6C27-4480-B945-772A5DB4F33A@dorward.me.uk>
To: Harshit Oberoi <oberoi.harshit@gmail.com>
On 23 Aug 2012, at 10:10, Harshit Oberoi <oberoi.harshit@gmail.com> wrote:
> Thanks for ur response . Actually i am pretty much new to this so no idea about how to post my html file as multipart/form-data .

It depends entirely on the HTTP library you are using. 

I just use https://metacpan.org/module/WebService::Validator::HTML::W3C which wraps the entire service.

> I have gone through the API's document and could not found much info about how to post it .

It just refers to HTTP and MIME.

http://www.w3.org/Protocols/rfc2616/rfc2616.html
http://en.wikipedia.org/wiki/MIME#Multipart_messages

-- 
David Dorward
http://dorward.me.uk
Received on Thursday, 23 August 2012 09:26:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 23 August 2012 09:26:46 GMT