回答編集履歴
1
参考情報と引用タグのインデントを修正
test
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
> TypeError: must be str, not NoneType
|
2
2
|
|
3
|
+
|
4
|
+
|
3
|
-
なのでx
|
5
|
+
なので`x`の値がNone=値を受け取れていません。
|
4
6
|
|
5
7
|
|
6
8
|
|
7
9
|
> Sorry, the requested URL 'http://localhost:8000/hello2?input=abc' caused an error:
|
10
|
+
|
11
|
+
|
8
12
|
|
9
13
|
GETでリクエストしているみたいなので、以下の部分を変更してみてくださいな。
|
10
14
|
|
@@ -30,4 +34,6 @@
|
|
30
34
|
|
31
35
|
■参考情報
|
32
36
|
|
37
|
+
0. [QUERY VARIABLES](http://bottlepy.org/docs/dev/tutorial.html#query-variables)
|
38
|
+
|
33
|
-
[Python初心者がBottleを使ってみたら案外簡単に動いてくれた](https://qiita.com/masaibar/items/e3b6911aee6741037549#get-post%E3%81%97%E3%81%A6%E3%81%BF%E3%82%8B)
|
39
|
+
0. [Python初心者がBottleを使ってみたら案外簡単に動いてくれた](https://qiita.com/masaibar/items/e3b6911aee6741037549#get-post%E3%81%97%E3%81%A6%E3%81%BF%E3%82%8B)
|