Sends a 200 OK response with a JSON body. Use for successful GET requests and non-creating POST/PUT operations.
200 OK
Express response object
Any JSON-serialisable value to send as the response body
Ok(res, { accessToken, user, workspace })Ok(res, employees.map(formatEmployee)) Copy
Ok(res, { accessToken, user, workspace })Ok(res, employees.map(formatEmployee))
Sends a
200 OKresponse with a JSON body. Use for successful GET requests and non-creating POST/PUT operations.