Serenity and Cucumber Quick Start
Home > Api > Playing the game > We can check the current state of the game by sending a GET to /api/game/{id}/guesses
Report generated 08-01-2026 10:13

Playing The Game

  Under 1 Second (Duration)   Gameplay

We can check the current state of the game by sending a GET to /api/game/{id}/guesses
Steps Outcome
POST http://localhost:37655/wordle/api/auth/register

Response

URL: http://localhost:37655/wordle/api/auth/register

Status code: 201

Content Type: application/json

Request Headers

Accept=*/*
Content-Type=application/json

Content Body

{
"id": null,
"username": "providencia.stanton",
"password": "fgwc8984",
"email": "iblu24@gmail.com",
"role": "ROLE_PLAYER",
"country": "GB",
"receiveUpdates": false
}

Response Headers

Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: text/plain;charset=UTF-8
Content-Length: 19
Date: Thu, 08 Jan 2026 10:13:42 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Response Body

providencia.stanton
SUCCESS 004ms
POST http://localhost:37655/wordle/api/auth/login

Response

URL: http://localhost:37655/wordle/api/auth/login

Status code: 200

Content Type: application/json

Request Headers

Accept=*/*
Content-Type=application/json

Content Body

{
"username": "providencia.stanton",
"password": "fgwc8984"
}

Response Headers

Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Thu, 08 Jan 2026 10:13:42 GMT
Keep-Alive: timeout=60
Connection: keep-alive

Response Body

{
"accessToken": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJwcm92aWRlbmNpYS5zdGFudG9uIiwiaWF0IjoxNzY3ODY3MjIzLCJleHAiOjE3Njc5NTM2MjN9.z0QnhnZM1LNkTYF8EJlwGO3QC5jYJo3d38bRWiQ4aKQ"
}
SUCCESS 003ms
SUCCESS 079ms
SUCCESS 169ms
SUCCESS 146ms
SUCCESS 0.8s
Serenity BDD version 5.0.4