diff --git a/api/example.js b/api/addClient.js similarity index 86% rename from api/example.js rename to api/addClient.js index 18dfe75..9eac8f4 100644 --- a/api/example.js +++ b/api/addClient.js @@ -1,5 +1,6 @@ -// api/example.js module.exports = (ctx) => { + + ctx.body = { message: 'Example POST API', data: ctx.request.body