ITeye博客

afnetworking 提交表单数据

dsr_22 · 2015-08-17 18:14 · ios · 移动开发 · Markdown

    AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
    
    [manager.requestSerializer setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"];

afnetworking  提交表单数据时要使用 application/x-www-form-urlencoded

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。