Send endpoint

Since upstart starts the node server starts before environmental variables are read. The endpoint to send a request to when the process finishes was hard coded. Now the initial request from the server will also send the api endpoint to hit when the process is finished.