소스 검색

feat(web): add body in `delete` HTTP Request block

Ahmad Kholid 1 년 전
부모
커밋
b9cd831598
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/newtab/workflow/edit/EditWebhook.vue

+ 1 - 1
src/components/newtab/workflow/edit/EditWebhook.vue

@@ -174,7 +174,7 @@ const emit = defineEmits(['update:data']);
 const { t } = useI18n();
 const { t } = useI18n();
 
 
 const methods = ['GET', 'POST', 'PUT', 'PATCH', 'DELETE'];
 const methods = ['GET', 'POST', 'PUT', 'PATCH', 'DELETE'];
-const notHaveBody = ['GET', 'DELETE'];
+const notHaveBody = ['GET'];
 const copyHeaders = JSON.parse(JSON.stringify(props.data.headers));
 const copyHeaders = JSON.parse(JSON.stringify(props.data.headers));
 
 
 const activeTab = ref('headers');
 const activeTab = ref('headers');