提交頁面:誤差與使用shell腳本使用以下命令curl..in shell腳本
DATE="2017/04/18"
curl --data "transactionNumber=12520264&traceNumber=466245&serviceDate=${DATE}" http://isp:7005/ClaimUtility/claimReversal
獲得如下答覆:ERROR
<p><b>message</b> <u>Request method 'POST' not supported</u></p> <p><b>description</b> <u>The specified HTTP method is not allowed for the requested resource (Request method 'POST' not supported).</u></p>
應該是什麼修正需要??
我瀏覽過太多的網址..但沒有得到答案!他們在哪裏使用shell腳本。 – appi
看起來相當明顯的錯誤,你正在嘗試POST,並且服務器不支持該頁面。 – miken32
這意味着我使用的網址不正確? – appi