用posturl 函式傳遞一個token值給服務器作為身份認證
token="gbnvbnv bncvbncvbncbnc"
ls_header = "Content-Type: application/json~n;token: "+trim(token)+" ~n;" + &
"Content-Length: " + String(ll_length) + "~n~n"
這樣寫始終報錯
uj5u.com熱心網友回復:
ls_header = "Content-Type: application/json~n Content-Length: " + String( ll_length ) + "~n~n"這么寫試試
uj5u.com熱心網友回復:
服務器端要求header頭檔案傳遞token值,作為身份驗證。token必須在header中uj5u.com熱心網友回復:
先去掉試試,如果確實是這個地方引起的,估計posturl解決不了了,用xmlhttp試試uj5u.com熱心網友回復:
posturl的header中可以傳很多資訊,這個我已經測驗過了uj5u.com熱心網友回復:
學習,看看。。。。。。。轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/21330.html
標籤:腳本語言
上一篇:求前輩指導下面的代碼是什么腳本語言,檔案后綴為.jl
下一篇:pb修改datesource
