Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var xmlhttp = new XMLHttpRequest();
- xmlhttp.open('GET','https://i.picsum.photos/id/58/960/540.jpg?hmac=-rukiOyBot3LyNtoEqrfoiZQMZE7V9M3vB6gGuUqBXc', true);
- xmlhttp.setRequestHeader('Content-type','application/x-www-form-urlencoded');
- xmlhttp.responseType = 'blob';
- xmlhttp.send();
Add Comment
Please, Sign In to add comment