July 2018
Intermediate to advanced
324 pages
8h 14m
English
Keeping this in mind, we are going to develop an API application that will have an OS-level tool dependency. Hence, we will be developing a Falcon-based API to upload a Microsoft Office 2003 file with the .doc extension. Once we upload the file, we will retrieve and parse the text data from this file and return in a JSON format. catdoc (http://www.wagner.pp.ru/~vitus/software/catdoc/) is a command utility for printing text data, like a built-in Linux cat tool. The following code log snippet demonstrates the catdoc command execution:
$ catdoc sample-doc-file.doc This is a sample text for demo.
Now, this catdoc command is installed at the OS level. But in our API, we are going execute this command programmatically to parse ...
Read now
Unlock full access