回答編集履歴
2
URLがtuple型になっていたので訂正
answer
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
def post_content(json_data: dict):
|
13
13
|
# identity.tyo1.conoha.io ←送り先はここでいいのかコントロールパネルで確認してください。
|
14
|
-
url =
|
14
|
+
url = 'https://identity.tyo1.conoha.io/v2.0/tokens'
|
15
15
|
return requests.post(url=url, json=json_data)
|
16
16
|
|
17
17
|
|
1
追記
answer
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
def post_content(json_data: dict):
|
13
|
+
# identity.tyo1.conoha.io ←送り先はここでいいのかコントロールパネルで確認してください。
|
13
14
|
url = ('https://identity.tyo1.conoha.io/v2.0/tokens')
|
14
15
|
return requests.post(url=url, json=json_data)
|
15
16
|
|