Email Validator Service

2024/06/24 Total 492 Character,about 2 minute

Email Validator Service Project

Github link: Git


Alt

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.

Document Information

Search

    Table of Contents

    Lastest Post