重點說一下,我idhttp的POST用法錯誤才會導致我一開始發問時的問題 !!
POST 用法和 Get 不一樣 !!
應該要用
list.text := 'years=2007';
list.Add('months=09');
list.Add('days=05');
list.Add('bcode=');
list.Add('step=2');
把五個資料讀進去,而不是 用 GET 的方法 (用 &把資料隔開 !)
所以目前問題解決啦 ~
转自:http://hi.baidu.com/pirateflag/blog/item/b14299fafa91c89458ee903b.html
//原来Post 与 Get 用法不一样,我曾经写过Post登陆bbs.2ccc.com论坛的程序,参数里面就是多了一个"&"符号,结果出错了。