From b21576b33380210102f0a5eeae8525ccdad0216a Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Tue, 25 Jun 2019 10:45:37 -0400 Subject: [PATCH] update --- rpr222/api_code.html | 4 ++-- rpr222/eventManage.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rpr222/api_code.html b/rpr222/api_code.html index b397970..1c796c5 100644 --- a/rpr222/api_code.html +++ b/rpr222/api_code.html @@ -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(); } diff --git a/rpr222/eventManage.js b/rpr222/eventManage.js index aa0db3c..cad3e59 100644 --- a/rpr222/eventManage.js +++ b/rpr222/eventManage.js @@ -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(); }