authorization: Bearer
referer: http://127.0.0.1:8180/auth.html
accept-encoding: gzip, deflate, sdch
accept-language: zh-CN, zh;
cookie: PHPSESSID=5uee1jrjl8eps2l8ust7te9fl3;
encoding: UTF-8
不要這個cookie
迷茫2017-05-15 17:00:31
設定不了吧,瀏覽器會在request的時候代替你去設定headers的參數,就算你使用$httpProvider.defaults.headers.common['Cookie']
去设置,也会报错Refused to set unsafe header "Cookie"