Advertisement
Guest User

Untitled

a guest
Jan 5th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. import axios from 'axios';
  2. import fs from 'fs';
  3.  
  4. const getGm = (producerCharId, targetCharId, guildId, guildRoleId, cookie) => {
  5. let postData = 'action=setCharGuildRole&producerCharId=' + producerCharId + '&targetCharId=' + targetCharId + '&guildId=' + guildId + '&guildRoleId=' + guildRoleId ;
  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. }
  19. });
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement