-
Notifications
You must be signed in to change notification settings - Fork 0
/
catatan.txt
63 lines (60 loc) · 1.76 KB
/
catatan.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#get request token
url: https://api.k-link.dev/api/auth/login
method: post
{
"username":"app.akademiInspiRadzi",
"password":"app.akademiInspiRadzi@181022"
}
#respon request token
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2NjY1ODQ3OTIsImV4cCI6MTY2NjU4NDg1Mn0.mKkI7SwbhkDGoViNB4QhMs7gDFz4WpVjY06AkSUK6Tk",
"data": {
"username": "app.akademiInspiRadzi",
"notes": "Aplikasi Akademi Inspiradzi"
}
}
#get request member login
curl --location --request POST 'https://api.k-link.dev/api/v.1/login' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2NjYwNjMzNTAsImV4cCI6MTY2NjA2MzQxMH0.WxToq-pHkApGUMZ3hNAU9PAw-59tNoVWmWAAhCV3sMo' \
--data-raw '{
"dfno": "IDJRBBA28648",
"password": "140320"
}'
#respon request member login
{
"status": "success",
"message": "",
"data": {
"dfno": "IDSPAAB011",
"fullnm": "DION RESPATI",
"idno": "099889900YAA",
"sfno": "IDSPAAA66834",
"fullnm_sp": "JHON DOE",
"sfno_reg": "IDSPAAA66834",
"fullnm_rec": "JHON DOE",
"sex": "M",
"tel_hp": "09998131",
"email": "[email protected]",
"addr1": "JL KERAWANG NO 45",
"addr2": "",
"addr3": "",
"city": null,
"rank": "01",
"shortnm": null,
"percentage": 0,
"bankid": "BCA",
"bankaccno": "13123123123",
"bankaccnm": "ADASDA",
"virtual_account": "154793657",
"password": "01011980",
"birthdt": "01/01/1980",
"bd_now": "29/12/2022",
"bd_exp_date": "05/01/2023",
"joindt": "22/01/2018",
"distributor": 1,
"mobile_sc": 0,
"sub_sc": 0,
"stockist_sc": 0
}
}