# Register a new user POST http://localhost:8081/user/login Content-Type: application/json { "username": "{{username}}", "password": "{{password}}" } > {% client.global.set("token", response.body.token); client.test("Request executed successfully", function() { client.assert(response.status === 200, "Response status is not 200"); }); %} ### Get notes GET http://localhost:8081/notes Authorization: Bearer {{token}} > {% client.test("Request executed successfully", function() { client.assert(response.status === 200, "Response status is not 200"); }); %}