changed parameters in cURL and added fixed routes