---
title: "afnetworking  提交表单数据"
author: "dsr_22"
date: "2015-08-17T18:14:22Z"
tags: []
categories: ["移动开发"]
slug: "afnetworking"
draft: false
lastmod: "2015-08-17T18:14:22Z"
id: 2236098
url: "https://dsr-22.iteye.com/blog/2236098"
---

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

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