skirda-backend/api/StatesAll/index.js
2022-08-24 15:08:22 +03:00

11 lines
281 B
JavaScript

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
};
}