Schedule trigger API request code not working

i tried this one but i get