我已经编写了这个从Web应用程序接收数据的php Web服务, 但现在我想将Android应用程序中的数据发送到用C#aspx编写的Web服务 谁可以将这个PHP代码转换为aspx并非常感谢任何帮助
<?php
$data = array("result" => 0, "message" => "Error!");
if ($_SERVER['REQUEST_METHOD'] == "POST") {
$user_name = $_POST['user_name'];
$user_pass = $_POST['user_pass'];
// check account
} else
$data = array("hasAccount" => false, "userType" => "","account_status"=>0);
/* Output header */
header('Content-type: application/json');
echo json_encode($data);
?>