private static string FormatBlackOrWhiteListFormData(string regexp, int statusCode) { return String.Format("regex={0}&status={1}", HttpUtility.UrlEncode(regexp), statusCode); }