Advertisement
Guest User

Untitled

a guest
Jan 5th, 2018
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. import axios from 'axios';
  2. import fs from 'fs';
  3.  
  4. const destroyGuild = (guildId, producerCharId, cookie) => {
  5. let postData = 'action=destroyGuild&guildId='+ guildId + '&producerCharId='+ producerCharId;
  6. return axios({
  7. method: 'post',
  8. url: 'https://region-na.lif.online/guild/guild-api.php',
  9. data: postData,
  10. headers: {
  11. Accept:'*/*',
  12. 'Accept-Encoding':'gzip, deflate, br',
  13. 'Accept-Language':'en-US,en;q=0.9,ro;q=0.8',
  14. Connection:'keep-alive',
  15. Cookie: cookie,
  16. Host:'region-na.lif.online',
  17. Origin:'https://region-na.lif.online',
  18. 'X-Requested-With':'XMLHttpRequest'
  19. },
  20. });
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement