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

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 UTC