daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest Aug 30th, 2018 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (async() => {
  2.               let response = null;
  3.               try {
  4.                 response = await axios({
  5.                   method: 'post',
  6.                   url: 'https://secure.rsantana.us/phptest.php',
  7.                   data: {
  8.                     countXHR: t.count
  9.                   }
  10.                 });
  11.                 t.count = response.data.count;
  12.                 localStorage.count = response.data.count;
  13.                 console.log(response.data);
  14.                 t.getUsers();
  15.               } catch (err) {
  16.                 console.error("Error response:");
  17.                 console.error(err.response.data);
  18.                 console.error(err.response.status);
  19.                 console.error(err.response.headers);
  20.               } finally {
  21.                 console.log(response);
  22.                 t.loading = !this.loading;
  23.                 //t.getUsers();
  24.               }
  25.             })();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top