Yes, you can run it from the command line. From the browser dev tools, intercept the http request when you click that button. Once intercepted you can convert it into curl command and execute it from the shell.
Look at this post where I post it similar thing: