File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed
appengine/standard/xmpp_wikibot Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,17 @@ This sample shows how to use the [SleekXMPP](http://sleekxmpp.com/index.html)
4
4
client and [ Flask] ( http://flask.pocoo.org/ ) to build a simple chatbot that can
5
5
be run on [ Google Compute Engine] ( https://cloud.google.com/compute/ ) . The
6
6
chatbot does two things:
7
- 1 . Sends messages to XMPP users via http get:
7
+ 1. Sends messages to XMPP users via http get:
8
+ The server is running on port 5000
9
+ if running on virtual machine use:
10
+ http://<MACHINE IP >:5000/send_message?recipient=<RECIPIENT ADDRESS >&message=<MSG >
8
11
9
- The server is running on port 5000
12
+ If running locally use:
13
+ http://localhost:5000/send_message?recipient=<RECIPIENT ADDRESS>&message=<MSG>
10
14
11
- if running on virtual machine use:
12
-
13
- http://<MACHINE IP >:5000/send_message?recipient=<RECIPIENT ADDRESS >&message=<MSG >
14
-
15
- If running locally use:
16
-
17
- http://localhost:5000/send_message?recipient= <RECIPIENT ADDRESS >&message=<MSG >
18
-
19
- 2 . Responds to incoming messages with a Wikipedia page on the topic:
20
-
21
- Send a message with a topic (e.g., 'Hawaii') to the XMPP account the server is using
22
-
23
- It should respond with a Wikipedia page (when one exists)
15
+ 2. Responds to incoming messages with a Wikipedia page on the topic:
16
+ Send a message with a topic (e.g., 'Hawaii') to the XMPP account the server is using
17
+ It should respond with a Wikipedia page (when one exists)
24
18
25
19
## Setup
26
20
You can’t perform that action at this time.
0 commit comments