質問編集履歴
3
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,6 +26,26 @@
|
|
26
26
|
|
27
27
|
```
|
28
28
|
|
29
|
+
##レスポンス
|
30
|
+
|
31
|
+
```
|
32
|
+
|
33
|
+
{
|
34
|
+
|
35
|
+
"access_token": "46a54395f3d1108feca56c7f6ca8dd3d",
|
36
|
+
|
37
|
+
"token_type": "bearer",
|
38
|
+
|
39
|
+
"expires_in": 3600,
|
40
|
+
|
41
|
+
"scope": "read",
|
42
|
+
|
43
|
+
"user_id": "ryu_nishida"
|
44
|
+
|
45
|
+
}
|
46
|
+
|
47
|
+
```
|
48
|
+
|
29
49
|
しかし、うまくリクエストを送ることが出ません。
|
30
50
|
|
31
51
|
エラーは特にないです。
|
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,7 +26,9 @@
|
|
26
26
|
|
27
27
|
```
|
28
28
|
|
29
|
+
しかし、うまくリクエストを送ることが出ません。
|
29
30
|
|
31
|
+
エラーは特にないです。
|
30
32
|
|
31
33
|
##環境
|
32
34
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
Unirest.post "http://api.quizlet.com/oauth/token",
|
22
22
|
|
23
|
-
headers:{
|
23
|
+
headers:{ Authorization: "Basic N0pIMzhUMjd6TTpOM3JYd3l2TU5OWlNGQWNBd0ozZ3lH"},
|
24
24
|
|
25
25
|
grant_type=authorization_code&code=GENERATED_CODE
|
26
26
|
|