Send request to the API to set a task's progress

Build a payload and send a request to update a task's progress. Return an error. No need to return the output.