Open ghassanmas opened 6 years ago
You could combine the two function in xhr.js for sending GET/POST request, if you add a parameter to the function that specifies method type. xhr.open(url,method,true)
xhr.open(url,method,true)
You could combine the two function in xhr.js for sending GET/POST request, if you add a parameter to the function that specifies method type.
xhr.open(url,method,true)