Skip to content

Instantly share code, notes, and snippets.

@chrjen
Created January 9, 2018 01:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrjen/acbe3e91b373f0048992304c47d7b105 to your computer and use it in GitHub Desktop.
Save chrjen/acbe3e91b373f0048992304c47d7b105 to your computer and use it in GitHub Desktop.
GET request: "http://localhost:8080/timer/"
Response Body: {
"TimeLeft": 289356,
"Paused": false
}
GET request: "http://localhost:8080/players/"
Response Body: {
"Names": [
"chrjen",
"Twangpants",
"Boop90",
"Ambi3nt",
"Glop",
"Sie_"
]
}
GET request: "http://localhost:8080/player/chrjen"
Response Body: {
"Name": "chrjen",
"Level": 11,
"Team": 0,
"Stunned": false,
"Afk": false,
"HoldingDisc": false
}
GET request: "http://localhost:8080/score/"
Response Body: {
"PointsOrange": 3,
"PointsBlue": 12,
"GoalCount": 5
}
GET request: "http://localhost:8080/goal/5"
Response Body: {
"Scorer": "chrjen",
"GoalType": "three-pointer",
"GoalPoints": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment