General endpoints¶
Test endpoints¶
Request¶
Description:
Used to test if the interface/API is available.
Request method:
GET
Headers:
Content-type: application/json
Request URL
https://spoilerinterface.com/interface/test
Request body:
None
Request example:
None
Response¶
{
"success": {
"message": "You have been Spoiled",
"time": 1674799659
}
}
The response information contains the following fields
| Field name | Description | Type |
|---|---|---|
| message | Spoiler test message | str |
| time | Epoch time that the request was made | int |