Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restangular does support withCredentials options and the other options for a cors request?

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 ?

like image 227
Whisher Avatar asked Oct 11 '13 17:10

Whisher


1 Answers

yes it does.

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

It has the same format as $http values.

like image 118
mgonto Avatar answered Nov 12 '22 17:11

mgonto