Telerik-Verified-Plugins / WKWebView

DEPRECATED - this plugin served a purpose in the past, but there are better implementation now

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem angular $http.post

HASSANDL opened this issue · comments

Hello, very very thanks.
I use this plugin in ios 9 and $http.post is pendding but when don't use this plugin no problem.
in server side, Web.config:

<httpProtocol>
      <customHeaders>
        <add name="Access-Control-Allow-Origin" value="*" />
        <add name="Access-Control-Allow-Headers" value="X-Requested-With, Accept, Origin, Content-Type" />
        <add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />
      </customHeaders>
    </httpProtocol>

in client side only:

$httpProvider.defaults.headers.common['Content-Type'] = 'application/json; charset=utf-8';