public JObject GetData(IRawHttpRequest request) { var formData = this.Convert(request.FormData, "formData"); var queryData = this.Convert(request.QueryData, "queryData"); // Merge querydata with formdata // Overwrite all query keys with form keys foreach (var prop in formData.Properties()) { queryData[prop.Name] = prop.Value; } return queryData; }
public JObject GetData(IRawHttpRequest request) { var formData = this.Convert(request.FormData, "formData"); var queryData = this.Convert(request.QueryData, "queryData"); // Merge querydata with formdata // Overwrite all query keys with form keys foreach (var prop in formData.Properties()) { queryData[prop.Name] = prop.Value; } return(queryData); }