Day 12 - Connect to API with CLI tool
- Suzie Ji

- Mar 2, 2021
- 1 min read
Updated: Apr 14, 2021

Find a place where CLI stores data. Find out how to connect to API with the CLI tool.
kiki@School:~/canvas/node_modules/data-access-platform-cli$ dap schema courses

After changing the config.json file and adding the access token, run Command in the CLI:
$ dap snapshot accounts
An error still appears.


After several attempts to modify the config.json file, I finally found that the URL of the CLI is the canvas machine instead of my own URL.
kiki@School:~/canvas/node_modules/data-access-platform-cli/lib$ vim api.js





Comments