skirda-backend/api/StatesAll/index.js

11 lines
281 B
JavaScript
Raw Permalink Normal View History

2022-08-24 12:08:22 +00:00
const states = require('../data/states.json');
module.exports = async function (context, req) {
context.res = {
headers: {
'Content-Type': 'application/json'
},
// status: 200, /* Defaults to 200 */
body: states
};
}