标签: node.js express csrf csrf-protection
我有两个网站。为简单起见,一个是www.example1.com,另一个是www.example2.com。对于这两个网站(使用nodeJS和expressJS构建),我正在使用cookie-parser和csurf来防止csrf攻击。唯一的事情是我希望能够从www.example2.com向www.example1.com发送POST请求。我该怎么做?