回答編集履歴
2
書式の改善
test
CHANGED
@@ -2,21 +2,19 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
|
5
|
+
```
|
6
6
|
|
7
|
-
|
7
|
+
{
|
8
8
|
|
9
|
-
|
9
|
+
"group_guid": "string",
|
10
10
|
|
11
|
-
|
11
|
+
"domain": "bit.ly",
|
12
12
|
|
13
|
-
|
13
|
+
"long_url": "string"
|
14
14
|
|
15
|
-
|
15
|
+
}
|
16
16
|
|
17
|
-
> "group_guid": "GROUP_GUID"
|
18
|
-
|
19
|
-
|
17
|
+
```
|
20
18
|
|
21
19
|
|
22
20
|
|
1
抜けていた説明を追加
test
CHANGED
@@ -1,10 +1,18 @@
|
|
1
|
-
ドキュメントを見るとリクエストボディは
|
1
|
+
[ドキュメント](https://dev.bitly.com/v4_documentation.html)を見るとリクエストボディは
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
> POST https://api-ssl.bitly.com/v4/shorten HTTP/1.1
|
6
|
+
|
7
|
+
> Host: api-ssl.bitly.com
|
8
|
+
|
9
|
+
> Authorization: Bearer ACCESS_TOKEN
|
10
|
+
|
11
|
+
> Content-Type: application/json
|
12
|
+
|
5
13
|
> {
|
6
14
|
|
7
|
-
> "long_url": "http://google.com",
|
15
|
+
> "long_url": "http://google.com",
|
8
16
|
|
9
17
|
> "group_guid": "GROUP_GUID"
|
10
18
|
|