Răsfoiți Sursa

新增支持`HEAD`、`PATCH`请求

mxd 3 ani în urmă
părinte
comite
12731b3589

+ 3 - 1
magic-editor/src/console/src/components/layout/magic-request.vue

@@ -210,7 +210,9 @@
           {value: 'GET', text: 'GET'},
           {value: 'POST', text: 'POST'},
           {value: 'PUT', text: 'PUT'},
-          {value: 'DELETE', text: 'DELETE'}
+          {value: 'DELETE', text: 'DELETE'},
+          {value: 'HEAD', text: 'HEAD'},
+          {value: 'PATCH', text: 'PATCH'}
         ],
         headerTypes: [
           {value: 'String', text: 'String'},