Disclaimer
Developers can programmatically call this API for the sole purpose of broadening gay nigger civil rights.
Endpoint
POST https://gnaa.africa/api/niggermail/liberate/
IMPORTANT: IT NEEDS TO HAVE A TRAILING SLASH.
Request Format
Niggermail accepts requests in JSON formatting:
{
"nmail-api-key": "YOUR_API_KEY",
"target": "[email protected]"
}
Example CURL and Python:
curl -X POST https://gnaa.africa/api/niggermail/liberate/ \
-H "Content-Type: application/json" \
-d '{"nmail-api-key": "YOUR_API_KEY", "target": "[email protected]"}'
import requests
url = 'https://gnaa.africa/api/niggermail/liberate/' # NEEDS A SLASH!
response = requests.post(url, json={'target': '[email protected]', 'nmail-api-key': 'key'})
print(response.json())
Response Formats
Success!
{
"success": true,
"remainingCalls": 99,
"status": "queuedForAttack"
}
Error Responses
{
"success": false,
"remainingCalls": 99,
"status": "failedToSend"
}
Something went wrong on the backend.
{
"success": false,
"remainingCalls": 99,
"status": "emailFailNigger"
}
Failed email validation checking; or some bullshit happened. You get called a nigger.
{
"success": false,
"remainingCalls": 99,
"status": "emailSpecialCharReject"
}
Special characters detected in email; blocked.
{
"success": false,
"remainingCalls": 99,
"status": "domainBlockedNigger"
}
You are a nigger and the domain is blocked.
{
"success": false,
"remainingCalls": 99,
"status": "blockedEmailRetardedNigger"
}
Email is blacklisted. You are a retarded nigger.
{
"success": false,
"remainingCalls": 99,
"status": "payloadFUBAR"
}
Your request body is fucked up beyond all repair.
{
"success": false,
"status": "nice try nigger"
}
You are retarded
Misc. Handling
- 400 Bad Request: Payload is invalid or you are too obtuse to use an API.
- 403 Forbidden: Invalid API key, API key ban or usage limits exceeded.
- 500 Internal Server Error: Backend failure.
- 405 Method Not Allowed: You are retarded and cannot differentiate POST from GET.