wymsee / cordova-HTTP

Cordova / Phonegap plugin for communicating with HTTP servers. Allows for SSL pinning!
MIT License
372 stars 301 forks source link

add value to header on request doesn't work #97

Open faustoct1 opened 8 years ago

faustoct1 commented 8 years ago

I follow the documentation and tried:

   setHeader
   .post(url,{},{token: mytoken}, ...)
   .get(url,{},{token: mytoken}, ...)

but the header is not there. How to use it?