vendredi 30 juillet 2021

What is HTTP status response for checking regex match false

Assume I have this line:

match, _ := regexp.MatchString(template.Validation, userConfig.Value)

match = false

What should I return HTTP status response?




Aucun commentaire:

Enregistrer un commentaire