diff --git a/curl/define.go b/curl/define.go index cc90e8a..30b9ba7 100644 --- a/curl/define.go +++ b/curl/define.go @@ -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" +)