DEMO: Node.js

This chapter introduces how to call the Pro Convert API in Node.js.

Download DEMO: pro-convert-api-demo-nodejs.zip

DEMO Structure

pro-convert-api-demo-nodejs
|
|-- httpUtils.js  // based on HTTP get and upload in Node.js
|-- DEMO_EDID.bin  // the default upload file when upload.js calls upload-edid, replace it with your own EDID file
|-- get.js     // request data using GET
|-- upload.js    // upload file using POST

Requirements

  • Operating System: Linux, OS X or Windows.
  • Node.js Runtime: 8.x or newer; it is recommended that you use LTS Releases.

Running Mode

1.Run the DEMO in the terminal

cd pro-convert-api-demo-nodejs

2.Run get.js

node get

3.Run upload.js

node upload

results matching ""

    No results matching ""

    results matching ""

      No results matching ""