validation-api

command module
v0.0.0-...-a969eaa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

validateEmail Endpoint

This endpoint is responsible for validating an email address using the POST method. It checks if the email is valid and returns a response in JSON format.

Request

Method: POST URL: /validateEmail

Headers

X-Openline-TENANT: The tenant value for authentication
X-Openline-API-KEY: The API key value for authentication

Body The request body should be a JSON object with the following structure:

{
    "email": "sample@example.com" 
}

Example

curl -X \
POST -H "Content-Type: application/json" \
-H "X-Openline-TENANT: <YOUR_TENANT_UUID>" \
-H "X-Openline-API-KEY: <YOUR_API_KEY_UUID>" \
-d '{"email": "example@example.com"}' \
https://validation.openline.ai/validateEmail

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL