Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이재용
/
TFT_My_Galaxy
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이재용
2020-06-03 01:04:29 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
899929fc0e926a5476c5fad724d05f3096772de8
899929fc
1 parent
b4fdc31d
test for find puuid
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
test.js
test.js
0 → 100644
View file @
899929f
var
request
=
require
(
"request"
);
let
option
=
{
url
:
"https://kr.api.riotgames.com/tft/summoner/v1/summoners/mPZ-K52nW3DRwr5MWcJ_ogUB1zE94Diwa-Voxxn8Df58MYk"
,
method
:
'GET'
,
headers
:{
"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"
,
"Accept-Language"
:
"ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7"
,
"Accept-Charset"
:
"application/x-www-form-urlencoded; charset=UTF-8"
,
"Origin"
:
"https://developer.riotgames.com"
,
"X-Riot-Token"
:
"RGAPI-78e43419-9016-45e3-8300-1e5febc8ef54"
}
};
request
(
option
,
function
(
err
,
res
,
body
)
{
console
.
log
(
req
.
body
.
puuid
)
});
\ No newline at end of file
Please
register
or
login
to post a comment