changed api Method in front
This commit is contained in:
1 parent
995d2c7007
commit
d297468f80
1 file changed
+1
-1
@@ -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'
|
||||||
|
|||||||
Reference in new issue
Block a user