update
This commit is contained in:
parent
b5b2b8a883
commit
b21576b333
|
@ -41,7 +41,7 @@ function putJson() {
|
|||
}
|
||||
};
|
||||
|
||||
req.open("PUT", "https://api.myjson.com/bins/k0abr", true);
|
||||
req.open("PUT", "https://api.myjson.com/bins/13hsch", true);
|
||||
req.setRequestHeader("Content-type", "application/json");
|
||||
req.send(data);
|
||||
|
||||
|
@ -58,7 +58,7 @@ console.log(`getJson`);
|
|||
}
|
||||
};
|
||||
|
||||
req.open("GET", "https://api.myjson.com/bins/k0abr", true);
|
||||
req.open("GET", "https://api.myjson.com/bins/13hsch", true);
|
||||
req.send();
|
||||
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ function putJson(data) {
|
|||
}
|
||||
};
|
||||
|
||||
req.open("PUT", "https://api.myjson.com/bins/k0abr", true);
|
||||
req.open("PUT", "https://api.myjson.com/bins/13hsch", true);
|
||||
req.setRequestHeader("Content-type", "application/json");
|
||||
req.send(data);
|
||||
|
||||
|
@ -43,7 +43,7 @@ function getJson(callback) {
|
|||
}
|
||||
};
|
||||
|
||||
req.open("GET", "https://api.myjson.com/bins/k0abr", true);
|
||||
req.open("GET", "https://api.myjson.com/bins/13hsch", true);
|
||||
req.send();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue