Now works with curl. Check the root domain.
Revert ONECOM_PASSWORD back to ONECOM_Password and ONECOM_USER back to ONECOM_User
rev command not found on OpenWrt CURL does not work, using wget JSESSIONID replaced with OneSIDCrmAdmin CSRF_G_TOKEN not needed