7

我正在谷歌搜索,但我没有找到任何线索

如果restangular支持withcredentials选项和cors请求的其他选项。

我的意思是我可以在没有任何问题的情况下在 cors 通话中使用它吗?

你能帮我吗 ?

4

1 回答 1

12

yes it does.

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

It has the same format as $http values.

于 2013-10-11T19:21:35.657 回答