From 80e180795bfe8724c40027a68f82dded95141744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sun, 1 May 2022 20:09:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=B7=E6=B1=82=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E7=9A=84=E6=9E=9A=E4=B8=BE=E5=80=BC=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- curl/define.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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" +)