| No Comments | No TrackBacks
fetch(endPointURL, {cache: "no-cache",credentials: 'include'})
.then( response =>{
return response.json();
}
)
.then( data=> {
if(data["error_info"]){
if(data[endpointTransactionData] === null){
throw 1
}else{
throw 1
}
}else if(!data["error_info"] && data[endpointTransactionData] === null){
throw 1
}else{
const rootDataNode = data[endpointTransactionData];
Related Entries

No TrackBacks

TrackBack URL: http://almostafternoon.com/cgi-bin/mt5/mt-tb.cgi/2736

Leave a comment

Archives

OpenID accepted here Learn more about OpenID