Commit a08411a0 authored by Florian Fuchs's avatar Florian Fuchs

Documentation: Added a note about using the correct port in testing and...

Documentation: Added a note about using the correct port in testing and production. (Given by Abhilash Raj)
parents 1f145578 e2f8167c
===================
j==================
Mailman REST client
===================
......@@ -10,6 +10,11 @@ providing it the base URL, user name and password (for Basic Auth).
>>> from mailmanclient import Client
>>> client = Client('http://localhost:9001/3.0', 'restadmin', 'restpass')
.. note::
Please note that port '9001' is used above, since mailman's test server
runs on port *9001*. In production Mailman's REST API usually listens on
port *8001*.
We can retrieve basic information about the server.
>>> dump(client.system)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment