validation-api

command module
v0.0.0-...-48dc23e Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 12 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" 
}

Response

The response will be in JSON format with the following structure: https://reacher.stoplight.io/docs/backend/76c074a57efb1-check-email

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