在我的應用程序我需要發佈數據到一個網址註冊一個新的用戶。這裏是URL http://myurl.com/user.php? email=[EMAIL]&username=[USERNAME]&password[PASS]&img_url=[IMG]
如果我這樣做,我正確的應該得到這個消息: {"success":true,"error":null}
or if not {"success":
與使用相同服務器端服務的iPhone應用程序相比,HttpURLConnection.getInputStream需要非常多的時間。 下面的代碼被用於服務: date= new java.util.Date();
Log.d("time","Time Stamp before posting "+new Timestamp(date.getTime()));
U
PHP curl請求從服務器獲取響應的權限。 但是,當我從Android的來電HttpPost它返回此錯誤: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't h