Connect
POST
Route Connect
localhost:8080/Connect
This section describes the API endpoint for connecting to a service. It requires sending a POST request to http://localhost:8080/Connect
with a JSON body containing a token. Upon a successful request, it returns a JSON response with a message indicating successful connection, a status code of 200, and a temporary token.
Body :
{
"token": "*****",
}
Success Response :
{
"message": "Connexion réussie",
"status": 200,
"temporaryToken": "******"
}
Curl exemple :
curl --location 'localhost:8080/connect' \
--header 'Content-Type: application/json' \
--data '{
"token": "*******"
}'
Last updated