checkUser

Requête

Permet de vérifier les identifiants utilisateurs.

Endpoint

[Domain]/academy/api/v1/Dictionary/checkUser

Exemple

const endpoint = "[endpoint]";
const apiKey = "[myAPIKey]";
const username = "[username]"; 
const password = "[password]";

fetch(endpoint, {
    method: "POST", 
    headers: {
        "Authorization": apiKey,
        "username ": username,
        "password ": password 
    }
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Erreur :", error));

Réponse

{
    "success": true,
    "message": "Identifiants valides"
}

Description des champs

Dernière mise à jour