One flat object
1. Soccer Player
A fictional soccer player profile.
Endpoint
GET https://api.mydcts.org/player
Authentication: None.
Query parameters
| Parameter | Type | Description |
|---|---|---|
delay | integer | Optional. Response delay in milliseconds, 0–2000. Default: 0. |
Response
application/json. A JSON object.
| Field | Type | Description |
|---|---|---|
name | string | Player name |
team | string | Fictional soccer club |
position | string | Playing position |
number | number | Jersey number |
XML format
GET https://api.mydcts.org/player.xml
application/xml. Root element: player. Contains the same four fields and values as the JSON response.
Status codes
200 Success · 400 Invalid parameter · 405 Method not allowed