增加请求方法的枚举值定义
This commit is contained in:
parent
83dbdb7ecb
commit
80e180795b
@ -11,4 +11,11 @@
|
||||
// Date: 2022/05/01 19:56:48
|
||||
package curl
|
||||
|
||||
const ()
|
||||
const (
|
||||
// ContentTypeFormData form-data 请求
|
||||
ContentTypeFormData = "form-data"
|
||||
// ContentTypeFormURLEncoded x-www-form-urlencoded 请求
|
||||
ContentTypeFormURLEncoded = "application/x-www-form-urlencoded"
|
||||
// ContentTypeJSON json的请求方式
|
||||
ContentTypeJSON = "application/json"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user