質問編集履歴

5

誤字

2022/12/09 02:40

投稿

khaii21
khaii21

スコア65

test CHANGED
File without changes
test CHANGED
@@ -107,7 +107,7 @@
107
107
  ```
108
108
  ### 気づいたこと
109
109
  コードを消しながら確認していたところ、下記の一文でエラーが発生している様子でした。
110
- 何かお気づきのことが御座いましたらご教授頂けますと幸です。
110
+ 何かお気づきのことが御座いましたらご教授頂けますと幸です。
111
111
 
112
112
  #Adminユーザーの情報をhogeサーバから取得してJSON形式に変換
113
113
  admin_information = literal_eval((Popen(auth_get_com, shell=True, stdout=PIPE, stderr=PIPE)).communicate()[0])

4

誤字

2022/12/09 02:29

投稿

khaii21
khaii21

スコア65

test CHANGED
File without changes
test CHANGED
@@ -109,6 +109,6 @@
109
109
  コードを消しながら確認していたところ、下記の一文でエラーが発生している様子でした。
110
110
  何かお気づきのことが御座いましたらご教授頂けますと幸です。
111
111
 
112
- # Adminユーザーの情報をhogeサーバから取得してJSON形式に変換
112
+ #Adminユーザーの情報をhogeサーバから取得してJSON形式に変換
113
113
  admin_information = literal_eval((Popen(auth_get_com, shell=True, stdout=PIPE, stderr=PIPE)).communicate()[0])
114
114
 

3

補足

2022/12/09 02:28

投稿

khaii21
khaii21

スコア65

test CHANGED
File without changes
test CHANGED
@@ -105,5 +105,10 @@
105
105
 
106
106
  sys.exit()
107
107
  ```
108
+ ### 気づいたこと
109
+ コードを消しながら確認していたところ、下記の一文でエラーが発生している様子でした。
110
+ 何かお気づきのことが御座いましたらご教授頂けますと幸です。
108
111
 
112
+ # Adminユーザーの情報をhogeサーバから取得してJSON形式に変換
113
+ admin_information = literal_eval((Popen(auth_get_com, shell=True, stdout=PIPE, stderr=PIPE)).communicate()[0])
109
114
 

2

誤字

2022/12/09 02:14

投稿

khaii21
khaii21

スコア65

test CHANGED
File without changes
test CHANGED
@@ -54,7 +54,7 @@
54
54
  }, \
55
55
  \"jsonrpc\": \"2.0\" \
56
56
  } \
57
- ' -H \"Content-Type: application/json-rpc\" http://" + input_ipadder + "/hoge/api_jsonrpc.php"
57
+ ' -H \"Content-Type: application/json-rpc\" http://" + input_ipadder + "/hoge/api_hoge.php"
58
58
 
59
59
  # Adminユーザーの情報をhogeサーバから取得してJSON形式に変換
60
60
  admin_information = literal_eval((Popen(auth_get_com, shell=True, stdout=PIPE, stderr=PIPE)).communicate()[0])
@@ -90,7 +90,7 @@
90
90
  \"auth\": \"" + auth + "\", \
91
91
  \"id\": 1 \
92
92
  } \
93
- ' -H \"Content-Type: application/json-rpc\" http://" + input_ipadder + "/hoge/api_jsonrpc.php"
93
+ ' -H \"Content-Type: application/json-rpc\" http://" + input_ipadder + "/hoge/api_hoge.php"
94
94
 
95
95
 
96
96
  # ユーザー作成コマンドの実行結果を取得してJSON形式に変換後判定

1

誤字

2022/12/09 02:12

投稿

khaii21
khaii21

スコア65

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  sys.stdout.write("\nhogeサーバのホスト名またはIPアドレスを入力して下さい: ")
42
42
  input_ipadder = str(raw_input().strip())
43
- admin_password = getpass.getpass(prompt="Adminユーザーのパスワードを入力して下さい: ")
43
+ admin_password = getpass.getpass(prompt="パスワードを入力して下さい: ")
44
44
 
45
45
  # Adminユーザーの情報取得用コマンド
46
46
  auth_get_com = "curl -s -d ' \