Schedule trigger API request code not working

Be aware that the double quotes are not replaced by something else similar