Hi Guys

Whenever I send a POST / PUT request, the "Content-Type" always show a 
"charset=UTF-8" no matter what I do:

I tried to modify default headers in module's config section:

$httpProvider.defaults.headers.post['Content-Type'] = 'application/json';

And even in the $resource method's configuration, like so:
                       
                            headers: {
                                'Content-Type': 'application/json'
                            }

And even using interceptors... but no case, it always adds that 
"charset=UTF-8".... and I don't want to go to a lower version.. there might 
be some hack(ish) way to override that.

Please help!

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to