Update app.tsx
parent
c012222600
commit
2eabad376f
|
@ -421,6 +421,7 @@ var hash_accessor = (function (window) {
|
||||||
var data = JSON.stringify(obj);
|
var data = JSON.stringify(obj);
|
||||||
|
|
||||||
//restdb.io
|
//restdb.io
|
||||||
|
/*
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.withCredentials = false;
|
xhr.withCredentials = false;
|
||||||
xhr.addEventListener("readystatechange", function () {
|
xhr.addEventListener("readystatechange", function () {
|
||||||
|
@ -432,7 +433,7 @@ var hash_accessor = (function (window) {
|
||||||
xhr.setRequestHeader("content-type", "application/json");
|
xhr.setRequestHeader("content-type", "application/json");
|
||||||
xhr.setRequestHeader("x-apikey", "6286feb34cca5010d1293ead");
|
xhr.setRequestHeader("x-apikey", "6286feb34cca5010d1293ead");
|
||||||
xhr.setRequestHeader("cache-control", "no-cache");
|
xhr.setRequestHeader("cache-control", "no-cache");
|
||||||
xhr.send(data);
|
xhr.send(data);*/
|
||||||
|
|
||||||
//requestbin
|
//requestbin
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue