On 2/14/25 11:10, Peter Knowles via Mailman-users wrote:
I'm starting to develop against the REST API and found what might be a bug in
the validation process.
Sending a POST request with an "empty" payload returns 201 (created):
http://localhost:8001/3.1/domains
What Mailman version is this?
With the current head of the GitLab branch, I get
$ curl -urestadmin:restpass \
> --request POST \
> http://localhost:8001/3.1/domains
{"title": "400 Bad Request", "description": "Missing Parameter: mail_host"}
This may have been fixed for Mailman 3.3.10 by
https://gitlab.com/mailman/mailman/-/merge_requests/1186 although it
isn't clear to me why that would change this behavior. The only other
recent change is
https://gitlab.com/mailman/mailman/-/merge_requests/1320 and I can't see
that changing this behavior.
--
Mark Sapiro <m...@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-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/RQUKVZGZ3LE6EOAYDPD2UB3KY2F2E72S/
This message sent to arch...@mail-archive.com