简体   繁体   English

Breeze JS安全性和标题

[英]Breeze JS Security and Headers

We have used Breeze in our solution and it is working well. 我们在解决方案中使用了Breeze,并且运行良好。 However, we are now at a place where we need to pass some identifying information as part of the header when we make the WebAPI call. 但是,现在我们在进行WebAPI调用时需要传递一些标识信息作为标头的一部分。 How is this accomplished with Breeze queries? Breeze查询如何完成?

I assume this link should help you; 我认为此链接应该对您有所帮助;
http://www.breezejs.com/documentation/controlling-ajax http://www.breezejs.com/documentation/controlling-ajax

In general, you need to configure the internal ajax adapter (probably jQuery) before making a request. 通常,您需要在发出请求之前配置内部ajax适配器(可能是jQuery)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM