const apiTest = (req, res) => {
    // res.send(req.query.doa); //get
    // res.send(req.body.doa);  //post
    const responseObject = {
        message: 'Hello, this is your JSON response!',
        success: true,
        data: {
            name: 'John Doe',
            age: 30,
            job: 'Developer'
        }
    };
    res.json(responseObject);
  };
  
module.exports = apiTest
  