Remove duplicated url in curl command.