Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- var URL = 'https://www.ilmakiage.co.il/ajax/index/addtocart?id=66015&qty=1&token=dsdsdsdsdsdsdsd';
- var data = null;
- var xhr = new XMLHttpRequest();
- xhr.withCredentials = true;
- xhr.addEventListener('readystatechange', function () {
- if (this.readyState === 4) {
- console.log(this.response);
- }
- });
- xhr.open('GET', URL);
- xhr.setRequestHeader('cache-control', 'no-cache');
- xhr.send(data);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement