changed api Method in front

This commit is contained in:
guwandyk committed 2026-08-04 18:27:31 +05:00
1 parent 995d2c7007
commit d297468f80
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@ function baseUrl() {
function postData(url = '', data = {}) { function postData(url = '', data = {}) {
return fetch(baseUrl() + url, { return fetch(baseUrl() + url, {
method: 'POST', method: 'GET',
headers: { headers: {
'Accept': 'application/json', 'Accept': 'application/json',
'Content-Type': 'application/json' 'Content-Type': 'application/json'