add send data
This commit is contained in:
parent
3898bb333e
commit
e3d2e5e78d
|
@ -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'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue