## Stringsetting.async.contentType

### Overview[ depends on jquery.ztree.core js ]

When Ajax sends data to the server, it uses this content-type. It is used when [setting.async.enable = true]

Default："application/x-www-form-urlencoded"

### String Format

contentType = "application/x-www-form-urlencoded", means: the sending data format is "form" format.

contentType = "application/json", means: the sending data format is "json" format. (for .Net)

### Examples of setting

#### 1. set the sending data format to "json" format.

    var setting = {
    	async: {
    		enable: true,
    		contentType: "application/json",
    		url: "http://host/getNode.php",
    		autoParam: ["id", "name"]
    	}
    };
    ......