Fixed the init url of curl