我是新的bie。 我需要通過post requet方法發送數據。 這是例如POST:http post請求與Firefox的區別
POST /bin/login HTTP/1.1
Host: 127.0.0.1:8000
Accept: image/gif, image/jpeg,
Referer: http://127.0.0.1:8000/login.html
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Content-Length: 37
Connection: Keep-Alive
Cache-Control: no-cache
User=Peter+Lee&pw=123456&action=login
我讀到HTTP POST方法的例子。我嘗試....但有一些問題。
這是我的問題:
當我使用Firefox看到「POST請求」,但它並不像例子的結果。 (關於firefox中的請求結構)它只是firefox的Graphic。我不知道標題和正文之間有任何「新行」。 (對不起,我不能上傳圖片到這裏!)
https://drive.google.com/file/d/0B7hpo_7GsGHtdzhhajRjbnNQNTQ/view?usp=sharing
因爲我用它每行發送的頭和身體到服務器divice。 謝謝!
請在此處發佈您的詳細信息,而不是指向Google雲端硬盤的鏈接。正如所寫的,你的問題沒有意義。 – Barmar
我的英語不好。我編輯過。我只是加入這個網站。如果我有任何錯誤的東西,請告訴我。謝謝! – user3326893