Retour à l'API
/admin/tpe-target POST
À propos Support Tableau de bord

Met à jour la cible TPE persistée (SQLite)

Paramètres

Aucun paramètre requis.

Corps de la requête

{
    "type": "object",
    "properties": {
        "ip": {
            "type": "string"
        },
        "port": {
            "type": "integer"
        }
    }
}

Réponses

200 OK
req est une HTTPRequête
req.Méthode = httpPost
req.URL = "http://127.0.0.1:8082/admin/tpe-target"
req.Entête["Authorization"] = "Bearer sk_test_..."
req.Entête["Content-Type"] = "application/json"
req.Contenu = '{"ip":"string","port":0}'
res est une HTTPRéponse = HTTPEnvoie(req)
SI ErreurDétectée ALORS
   Erreur(ErreurInfo())
SINON
   Trace(res.Contenu)
FIN