title: How to Send POST Request in windows Phone 8 and get its Response in json
body: <p>I am trying to call a web service 
  which returns a JSON response. So far my code is working fine for GET Request but now services on server are POST and I have no idea how to do that! Below is the code for GET Request: </p>
  
  <pre><code> private void callSigninWebservice()
          {
              setProgressIndicator(true);
  
              SystemTray.ProgressIndicator.Text = "Signing in please wait";
              try
              {
                  WebClient webClient = new WebClient();
                  Uri uri = new Uri(GlobalVariables.URL_USER +
                  GlobalVariables.URL_STUDENT_SIGNIN_MODE_LOGIN +
                  GlobalVariables.URL_EMAIL + tbUsername.Text +
                  GlobalVariables.URL_PASSWORD + tbPassword.Password);
                  webClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(webClient_DownloadStringCompleted);
                  webClient.DownloadStringAsync(uri);
              }
              catch (Exception ex)
              {
                  MessageBox.Show(ex.Message + "error came here 1");
              }
  
          }
  </code></pre>
  
  <p>For Response </p>
  
  <pre><code>void webClient_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
          {
              try
              {
  
                  JObject parentObj = JObject.Parse(e.Result);
                  String strResult = (String)parentObj[SigninData.JSON_result];
  
                  bool bolresult = strResult.Equals(SigninData.JSON_result_success, StringComparison.Ordinal);
  
                  if (bolresult)
                  {
                      JObject dataObj = (JObject)parentObj[SigninData.JSON_data];
                      setUserData(dataObj);
                      NavigationService.Navigate(new Uri("/BasePage.xaml", UriKind.RelativeOrAbsolute));
  
                  }
                  else
                  {
                      String error = (String)parentObj[SigninData.JSON_data];
                      MessageBox.Show("Error : " + error);
                  }
                  setProgressIndicator(false);
              }
              catch (Exception)
              {
                  setProgressIndicator(false);
              }
  
          }
  </code></pre>