deleted mode for post

This commit is contained in:
Kostya
2023-12-13 17:53:34 +03:00
parent 91d6c93a45
commit ec2f71009c

View File

@@ -4,7 +4,6 @@ import { BackendApiUrl } from '@/properties/Сonfig.js';
export async function Post(url = "", data = {}) { export async function Post(url = "", data = {}) {
try { try {
const response = await fetch(url, { const response = await fetch(url, {
mode: 'no-cors',
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",