Thanks for clarifying. All is working now!!!
On Thu, Feb 17, 2022 at 1:27 PM Mark Sapiro <mark@msapiro.net> wrote:
On 2/17/22 10:10, Stephen Daniel wrote:
Fixed the POSTORIUS_TEMPLATE_BASE_URL. Doesn't fix the issue. I've been playing with wget, and no matter what I put, I keep getting a 404 error.
So: this works:
wget -O wget.out --user restadmin --password restpass ' http://localhost:8001/3.1/lists/list.example.com'
but this does not (404 error):
wget -O wget.out --user restadmin --password restpass '
http://localhost:8001/3.1/templates/list/list.example.com/list:user:notice:w...
You are using Mailman core's REST API which is wrong. You need to get the template from Postorius. Maybe something like
http://localhost/postorius/api/templates/list/list.example.com/list:user:not...
Where http://localhost/postorius/ is the URL you use to access Postorius, maybe mailman3 instead of postorius.
Once you figure that out, POSTORIUS_TEMPLATE_BASE_URL is just the scheme and domain part of that.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/