Method | HTTP request | Description |
---|---|---|
extractTextFromFile | POST /extract-text | Extract text from file |
extractUrl | POST /extract-article | Extract URL |
extractTextFromFile()
input_file
. The endpoint accepts various document types such as Word, PowerPoint, and PDF, and enforces a file size limit of 10 MB, and returns the text extracted from the document with no formatting.
Name | Type | Description | Notes |
---|---|---|---|
content_type | string | [optional] | |
accept | string | [optional] | |
input_file | \SplFileObject**\SplFileObject** | [optional] |
multipart/form-data
application/json
extractUrl()
Name | Type | Description | Notes |
---|---|---|---|
content_type | string | [optional] | |
accept | string | [optional] | |
extract_url | string | [optional] |
multipart/form-data
application/json