diff --git a/components/modal.vue b/components/modal.vue index 108837f..5f287fc 100644 --- a/components/modal.vue +++ b/components/modal.vue @@ -35,7 +35,7 @@ const validate = () => { } const submit = (e: any) => { fetch(`${apiBase}/custom_request/`, { - method: 'post', + method: 'POST', headers: { 'Content-Type': 'application/json' },