cURL - Login, Get Map Reduce Jobs, Get Map Reduce Job Results, Logout

cURL - Login, Get Map Reduce Jobs, Get Map Reduce Job Results, Logout
curl -c cookies.txt 'http://infinite.ikanow.com/api/auth/login/sterling_archer@ikanow.com/WZRHGrsBESr8wYFZ9sx0tPURuZgG2lmzyvWpwXPKz8U%3D' > response.txt
curl -b cookies.txt 'http://infinite.ikanow.com/api/custom/mapreduce/getjobs' > response.txt
    //copy over the job id that we want to see results for
curl -b cookies.txt 'http://infinite.ikanow.com/api/custom/mapreduce/getresults/abcde12345' > response.txt
    //the results of the map reduce job will be in the data field of the response
curl -b cookies.txt 'http://infinite.ikanow.com/api/auth/logout' > response.txt