Use curl, fix URLs and add to documentation.