Get all players

GET {{mock_url}}/players

RESPONSES

status: OK

{"welcome":"Welcome! Check out the 'data' object below to see the values returned by the API. Click **Visualize** to see the 'tutorial' data for this request in a more readable view.","data":{"players":[{"id":1},{"id":2},{"id":3}]},"tutorial":{"title":"Test scripts 🕵","intro":"The requests in this folder use mock data to walk you through adding test scripts in Postman.","steps":[{"note":"In the **Tests** tab for the request, add the following test function.","js_code":["pm.test('Status code is 200', function () {","    pm.response.to.have.status(200); ","});"]},{"note":"The `pm.test` function will use the first text string parameter to output the test result in Postman. This test checks whether the response status code is `200` which means 'OK'. You can access test code snippets on the right of the test editing area. **Save** your request and click **Send** then check the **Test Results** in the response area. (_Click **Body** \u003e **Visualize** to get back to these instructions._)","pic":"https://assets.postman.com/postman-docs/student-expert-test-added.jpg"}],"next":[{"step":"Try making your test fail by changing the status code check to `400` (which should fail because the response should be status `200`), **Send** again to see how a failed test appears.","pic":"https://assets.postman.com/postman-docs/student-expert-test-failed.jpg"},{"step":"Once you have your test failing, open the next request in the folder `Get specific player` and click **Send**."}]}}