11 lines
281 B
JavaScript
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
|
|
};
|
|
} |