Showing
1 changed file
with
16 additions
and
0 deletions
test.js
0 → 100644
1 | +var request = require("request"); | ||
2 | +let option={ | ||
3 | + url:"https://kr.api.riotgames.com/tft/summoner/v1/summoners/mPZ-K52nW3DRwr5MWcJ_ogUB1zE94Diwa-Voxxn8Df58MYk", | ||
4 | + method: 'GET', | ||
5 | + headers:{ | ||
6 | + "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36", | ||
7 | + "Accept-Language": "ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7", | ||
8 | + "Accept-Charset": "application/x-www-form-urlencoded; charset=UTF-8", | ||
9 | + "Origin": "https://developer.riotgames.com", | ||
10 | + "X-Riot-Token": "RGAPI-78e43419-9016-45e3-8300-1e5febc8ef54"} | ||
11 | + }; | ||
12 | + request(option,function(err,res,body) | ||
13 | + | ||
14 | + { | ||
15 | + console.log(req.body.puuid) | ||
16 | + }); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment