protected WebApiRequest(string url) { Contract.Requires(!string.IsNullOrWhiteSpace(url), "The url cannot be null or empty."); this.url = url; headers = new Dictionary<string, string>(); formParameters = new Dictionary<string, string>(); }