add send data

This commit is contained in:
Kseninia Mikhaylova 2024-06-07 15:18:07 +03:00
parent 3898bb333e
commit e3d2e5e78d
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ const validate = () => {
} }
const submit = (e: any) => { const submit = (e: any) => {
fetch(`${apiBase}/custom_request/`, { fetch(`${apiBase}/custom_request/`, {
method: 'post', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}, },