
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):
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 <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan