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];
No TrackBacks
TrackBack URL: http://almostafternoon.com/cgi-bin/mt5/mt-tb.cgi/2736
Leave a comment