且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

CSRF 验证 IOS SDK DRUPAL

更新时间:2023-12-03 13:46:16

我现在已经解决了这个问题,通过修复 AFHTTPCLIENT 中的代码,使其能够获取 Token 并将 CSRF 令牌发送回服务器,只要诸如发布、删除之类的请求被触发.

I've fixed the problem now, by fixing up the code in AFHTTPCLIENT to make it to get the Token and send that CSRF token back to the server whenever the requests such as post, delete is fired.