Documentation / Wiki of the DMCA.com REST API (usage restrictions apply)
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md add a simple js example Jun 28, 2018

README.md

DMCA.com DMCA API

The official documentation for DMCA services API. Use the API to

Usage Requirements

You must have an active account at https://www.dmca.com?r=ghapi

Documentation

See the API docs.

API JS Example

 function newRegistration(firstName, lastName, companyName, email, callBack) {
                var data = {
                        "FirstName": firstName,
                        "LastName": lastName,
                        "CompanyName": companyName,
                        "Email": email
                    };
                $.ajax({
                    type: "POST",
                    contentType: 'application/json; charset=utf-8',
                    url: "https://api.dmca.com/register",
                    data: JSON.stringify(data),
                    dataType: "json",
                    crossDomain: true,
                    context: this,
                    success: function (response) {
                        if (typeof callBack !== 'undefined') { callBack(response); }
                    }
                });
            }