## 1\. API支持两种内容类型 ### application/x-www-form-urlencoded ```text config.limit=10&config.period=seconds ``` 或者 ``` hosts=example.com&hosts=example.org ``` 或者 ``` hosts[]=example.com&hosts[]=example.org ``` ### application/json ```json { "config": { "limit": 10, "period": "seconds", "hosts": [ "example.com", "example.org" ] } } ```