2 Jan
2023
2 Jan
'23
7:56 p.m.
On Mon, 2 Jan 2023 09:57:45 -0800 Mark Sapiro <mark@msapiro.net> wrote:
MAILMAN_REST_API_URL = 'http://localhost:8001' MAILMAN_REST_API_USER = 'restadmin' MAILMAN_REST_API_PASS = 'restpass'
I've not had any occasion to set these while following the documentation.
match
$ mailman info ... REST root url: http://localhost:8001/3.1/ REST credentials: restadmin:restpass
Note the 3.1/ in REST root url is not included in MAILMAN_REST_API_URL.
What do you get from, e.g.
curl -urestadmin:restpass http://localhost:8001/3.1/lists
It should return JSON with information about your lists.
I get the following: {"start": 0, "total_size": 0, "http_etag": "\"678678567346533573674563786538\""}