This is an archived forum post. The information may be outdated. Contact us if you have any questions.
public void convertFile( byte[] bytes, string filename, Stream out_stream ) { this.post_multipart( bytes, filename, out_stream ); }
private void post_multipart( byte[] bytes, string filename, Stream out_stream ) { byte[] data = this.encode_multipart_post_data( bytes, get_mime_type(filename), filename ); do_request( this.api_uri + "pdf/convert/html/", out_stream, data, multipart_content_type ); }