Word 轉 HTML API 接口
圖像/轉換 Word 文檔轉換為 HTML 文件轉換 / 超高精度與還原度 文件轉換 / Word。
1. 產品功能
- 超高精度與還原度的 HTML 文件轉換;
- 支持將 Word 文檔轉換為 HTML 格式;
- 支持 .doc 和 .docx 格式;
- 保持原始 Word 文檔的布局、字體和樣式;
- 轉換后的 HTML 文件支持永久訪問;
- 提供 HTML 文件 URL 和內容;
- 全接口支持 HTTPS(TLS v1.0 / v1.1 / v1.2 / v1.3);
- 全面兼容 Apple ATS;
- 全國多節點 CDN 部署;
- 接口極速響應,多臺服務器構建 API 接口負載均衡;
- 接口調用狀態與狀態監控
2. API 文檔
接口詳情: https://www.gugudata.com/api/details/word-to-html
接口地址: https://api.gugudata.com/imagerecognition/word-to-html?appkey={{YOUR_APPKEY}}
返回格式: application/json; charset=utf-8
請求方式: POST
請求協議: HTTPS
請求示例: https://api.gugudata.com/imagerecognition/word-to-html?appkey={{YOUR_APPKEY}}
數據預覽: https://www.gugudata.com/preview/word-to-html
接口測試: https://api.gugudata.com/imagerecognition/word-to-html/demo
3. 請求參數
參數名 | 參數類型 | 是否必須 | 默認值 | 備注 |
---|---|---|---|---|
file | file | 是 | Word 文檔文件,支持 .doc 和 .docx 格式 |
4. 返回參數
參數名 | 參數類型 | 備注 |
---|---|---|
DataStatus.RequestParameter | string | 請求參數字符串 |
DataStatus.StatusCode | int | 接口返回狀態碼 |
DataStatus.StatusDescription | string | 接口返回狀態說明 |
DataStatus.ResponseDateTime | string | 接口數據返回時間 |
Data.html_url | string | 轉換后的 HTML 文件下載 URL,支持永久存儲 |
Data.html_content | string | 轉換后的 HTML 內容 |