File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
appengine/standard_python3/pubsub Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 1515runtime : python39
1616
1717# [START gae_standard_pubsub_env]
18- # [START env]
1918env_variables :
2019 PUBSUB_TOPIC : ' <YOUR_TOPIC>'
2120 # This token is used to verify that requests originate from your
2221 # application. It can be any sufficiently random string.
2322 PUBSUB_VERIFICATION_TOKEN : ' <YOUR_VERIFICATION_TOKEN>'
24- # [END env]
2523# [END gae_standard_pubsub_env]
Original file line number Diff line number Diff line change 3939
4040
4141# [START gae_standard_pubsub_index]
42- # [START index]
4342@app .route ("/" , methods = ["GET" , "POST" ])
4443def index ():
4544 if request .method == "GET" :
@@ -58,7 +57,6 @@ def index():
5857 future = publisher .publish (topic_path , data )
5958 future .result ()
6059 return "OK" , 200
61- # [END index]
6260# [END gae_standard_pubsub_index]
6361
6462
You can’t perform that action at this time.
0 commit comments