How to point the CLI at another API URL (--base-url)

Pass --base-url with the API address, or set baseUrl in clearrun.config.json. The default is https://api.clearrun.net. Most people never change it.

Last updated

Steps

  1. Pass it on the command line

    clearrun score answer.txt --base-url https://api.clearrun.net
  2. Or save it in the config file

    { "baseUrl": "https://api.clearrun.net" }

When to use it

Only if you were given a different ClearRun API address. Your key is sent to that address, so use only one you trust.

It applies to

clearrun score and clearrun verify. The flag wins over the config file.