This repository has been archived on 2023-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
OwlBoard/src/services/test.services.js

20 lines
471 B
JavaScript

// Get CORPUS data from Network Rail and format the data for OwlBoard
// FUNCTIONS
// get() : Exported: Returns: Ready Status and Owlboard Version
// post() : Exported: Will check the API authentication and return status
const version = require('../configs/version.configs');
async function get(){
return {"OwlBoard_Status":"ready","OwlBoard_Version":version};
}
async function post(){
return {"type":"post"};
}
module.exports = {
get,
post
}