I'm setting up a simple POST method to send information to a form before processing the C# in the code-behind. The expected result is a plain-text string with some simple values:
function postTasks() {
  var postdata = $("#taskReturnDiv").text();
  try {
    $.ajax({
        type: "POST",
        url: "calendar.aspx",
        cache: false,
        data: postdata,
        dataType: "text",
        error: getFail
    });
  }
  catch (e) {
    alert(e);
  };
  function getFail(data, textStatus, jqXHR) {
    alert(textStatus);
  };
};
However, attempting to read with the following:
string processTaskPostback(HttpContext context)
{
    string taskString = String.Empty;
    HttpContext.Current.Request.InputStream.Position = 0;
    using (StreamReader inputStream = new StreamReader(HttpContext.Current.Request.InputStream))
    {
        taskString = inputStream.ReadToEnd();
        return taskString;
    }
}
Results in taskString containing a value that seems to be the reference to the statebag rather than the expected string: 
__VIEWSTATE=RGl0btFvBz93yS%2BQp%2FHpk1pT9AohsFsyJI90RjT3BvtWkw3DPYDjGhqIGHSADWaCoXsRXxWSmdlwsbebI7qMhxn%2FEKZiDTH9RB6TB97HFurOenlTG3sXGe6r2a2MqaTCIkYUZVbLp8FQuyPQmG%2FdKCXeUrjUIYUGBoD%2FvB8xF3ThhppKd3OAsPydvVQkB4z4CkygDtcZwP6IckX52YX%2BE3ttAEOOUVfjjMY5lXaiB56EwldbcRvJP6nIKz1SeQodGNgeYSOFnMO1zht0ouMRBbUYb5K3fAuB5zHFogpmyfd4K9whgnGKwcyf1dXzwlli&newEvent_title=1&newEvent_date=2018-03-21&newEvent_description=1&addNewPersonalEvent=Add+Event&__VIEWSTATEGENERATOR=B66867E1&__EVENTVALIDATION=9z3SFY4WzFb%2BAXZpcZVK5W7ZwbkYcJ3I43tG39FSX4H7PRykGGlQ4TS7%2F%2Bfs34wWJXo1WSdDRheOljoJFm8Cc6B0Q%2Bwl3LbkKGAKt1ifl%2F6B5XBxW9eUwE%2BeYa0dlJIiY08t05OKyGu%2FF03cZOgZnbSNYMlTcajFwaWwnU5PHKLsXd%2FNVWyxfvoEy%2BAFmFRc
What am I missing here?