Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import axios from 'axios';
- import fs from 'fs';
- const getGm = (producerCharId, targetCharId, guildId, guildRoleId, cookie) => {
- let postData = 'action=setCharGuildRole&producerCharId=' + producerCharId + '&targetCharId=' + targetCharId + '&guildId=' + guildId + '&guildRoleId=' + guildRoleId ;
- return axios({
- method: 'post',
- url: 'https://region-na.lif.online/guild/guild-api.php',
- data: postData,
- headers: {
- Accept:'*/*',
- 'Accept-Encoding':'gzip, deflate, br',
- 'Accept-Language':'en-US,en;q=0.9,ro;q=0.8',
- Connection:'keep-alive',
- Cookie:cookie,
- Host:'region-na.lif.online',
- Origin:'https://region-na.lif.online',
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement