Closed zagoli closed 10 months ago
"to-email"
will simply be ignored, just like any other fields.
The questions here is if we omit "to_email"
, or even if we manually put "to_email": ""
, should it check the empty string, or should it fail early.
In the backend, I'm okay to fail early with a HTTP error. @zagoli would you like to create a PR?
Ok I'll try to do it
Email Provider
No response
Version of check-if-email-exists (if running it yourself)
latest
What happened?
I send a request with the following wrong syntax:
{ "to-email" : "example@gmail.com" }
. Note the wrongto-email
instead ofto_email
.I expect this request to fail with an http error. Instead the response is
200 OK
with the fieldis_reachable
set toinvalid
.Relevant log output
No response