Authentication

To authenticate API requests to our system, users must include a Token in the "Authorization" header of their HTTP requests. The header should be formatted as "Authorization: Bearer {Token}". Users are required to generate the token using their credentials and include it in the header of each request.

Here’s an example using NodeJS:

const sampleExpressHandler = (req, res) => {
  // Adding Authorization header with token
  const token = 'your_generated_token';
  headers['Authorization'] = `Bearer ${token}`;
	res.status(200).send();
};