[問題] Restful api問題
可以抓到data的command
curl -H "Authorization:XXXX qwrryuj......"
如果是用Http Request post的話要怎麼做?
是把Authorization參數擺在Header ???
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.167.159.60
※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1500983136.A.A1F.html
→
07/25 20:24, , 1F
07/25 20:24, 1F
java
HttpURLConnection
connection.setRequestProperty("Authentication", "Bearer " +token);
一直失敗
※ 編輯: magic704226 (118.163.87.77), 07/26/2017 08:47:43
※ 編輯: magic704226 (27.246.33.102), 07/26/2017 09:27:12
→
07/26 15:31, , 2F
07/26 15:31, 2F
Web_Design 近期熱門文章
PTT數位生活區 即時熱門文章