See the API docs
The official documentation for DMCA services API. Use the API to
- register an account
- login to API and get your token
- create a dmca takedown case
- list your dmca takedown cases
- register an affiliate account
- create DIY cases
- get a new badge id
You must have an active account at https://www.dmca.com?r=ghapi
See the API docs.
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); }
}
});
}