There is a process that requires an update.
In order to update a third-party database, I need to call a service provided by them.
My Ajax function is working properly. Below is the code snippet for the success callback.
$.ajax({
.
.
success : funtion(result) {
.
.
.
var disposalWindow = window.open('http://10.10.10.10:8070/exp_call?YMD='+ymd+'&HMS='+hms+'&CID='+cid+'&SEND_DATE='+senddate+'&ACODE='+inlineNumber+'&CALL_TYPE='+calltype, '');
disposalWindow.close();
},
.
.
.
Everything was functioning smoothly until today when the update for the third party failed for the first time.
I contacted the provider to investigate the logs and verify if the page was successfully called and processed.
The response was "there was no record of the call in the logs."
Is it possible for this issue to occur after 3 months since the completion of the project?
Due to CORS restrictions, using Ajax to call the page is not an option.
I initially believed that using window.open would not pose any problems, but it seems that it is causing an issue now. What is the best approach to handle this situation?
Is utilizing window.open for this purpose considered inappropriate?