Restangular does support withCredentials options a

2019-02-22 02:03发布

问题:

I'm googling but I don't find any clue on

if restangular support withcredentials option and the other options for a cors request or not.

I mean can I use it in a cors calls without any issues ?

Can you help me, please ?

回答1:

yes it does.

You can set them by using setDefaultHttpFields: https://github.com/mgonto/restangular#setdefaulthttpfields

It has the same format as $http values.