top of page
Search

Day 12 - Connect to API with CLI tool

  • Writer: Suzie Ji
    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


©2021 by Suzie Ji. Proudly created with Wix.

bottom of page