Skip to content

Test authentication

Request

Description:

Used to test if the user has been authenticated.

Ensure that you have logged in and received a access_token/api_key as discussed in Auth section

Request method:

GET

Headers:

Content-type: application/json

Request URL

https://spoilerinterface.com/interface/home

Request body: The request body should be sent as parameters and it should contain the api_key value.

After authenticating, a cookie will be set on the response and this can be used to make further request without including the api_key in the request params.

Request example:

https://spoilerinterface.com/interface/home?api_key=dfg894gre49rte4ertg

Response

{
    "success": "Spoiler: If you are seeing this message it means you have logged in"
}