W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2010

Question about the CSS/XHTML validator API - request via POST

From: K K <homedad00@hotmail.com>
Date: Thu, 10 Jun 2010 10:32:12 -0700
Message-ID: <COL107-W54E2B69E19C084357AD034A1D80@phx.gbl>
To: <www-validator-css@w3.org>

I'm able to write C# code that sends css text in a HTTPWebRequest POST as multipart /form-data to http://jigsaw.w3.org/css-validator/validator and I'm able to get a response back that shows the validation results.

 

Now I'm attempting to do the same - validating an XHTML/HTML document with a HTTPWebRequest via POST as multipart/form-data to http://validator.w3.org/check  but I'm not sure what the POST format is supposed to be.  I've tried following the same convention in building up the text for the POST as I did in the CSS case - but all I get back is " Sorry! This document can not be checked "

 

Can someone point me any "other" documentation on how to submit a POST to the XHTML validator http://validator.w3.org/check ?   

 

According to the webpage http://validator.w3.org/docs/api.html#requestformat:

 

If you want to use W3c's public validation server, use the parameters below in conjunction with the following base URI:   http://validator.w3.org/check 

 





uploaded_file
The document to validate, POSTed as multipart/form-data
None, but either this parameter, or uri, or fragment must be given.

 




 

Or can you point me to the right contact so I can get this working?   Is the XHTML validator API service even work for POST multipart/form-data?

 

thanks,

Jeff
 		 	   		  
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
Received on Thursday, 10 June 2010 23:13:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:26 GMT