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

前端 未结 1 1637
礼貌的吻别
礼貌的吻别 2021-01-18 05:19

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 i

1条回答
  •  离开以前
    2021-01-18 06:07

    yes it does.

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

    It has the same format as $http values.

    0 讨论(0)
提交回复
热议问题