
Feb. 14, 2025
7:10 p.m.
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
Since "mail_host" should be required at minimum to create a domain, this seems like there may be a bug with the REST API. The workaround for the moment is to add validation at the application layer, but the API should really be returning a 4xx code and error respectively.