Re: How To Validate a HTML file using W3c API

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 UTC