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 ?
yes it does.
You can set them by using setDefaultHttpFields
: https://github.com/mgonto/restangular#setdefaulthttpfields
It has the same format as $http values.
来源:https://stackoverflow.com/questions/19324125/restangular-does-support-withcredentials-options-and-the-other-options-for-a-cor