Added buildUrl to Curl