Email Validator Service Project
Github link: Git
Usage
API Endpoints
Validate Email
- URL:
/api/validate
- Method:
POST
- Request Body:
{ "email": "example@example.com" }
- Response (Valid Email):
{ "is_valid": true, }
- Response (Invalid Email):
{ "is_valid": false, "message": "Email validation failed" }
Sample Request
You can use curl
to make a request to the API:
curl -X POST https://emailvalidator.ne.choreoapps.dev/api/validate -H "Content-Type: application/json" -d '{"email": "test@example.com"}'
Response
{
"is_valid": true,
}
This project is simple hobby project.