Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 2.08 KB

README.md

File metadata and controls

44 lines (36 loc) · 2.08 KB

DMCA.com DMCA API

See the API docs

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); }
                    }
                });
            }