Skip to content

Commit

Permalink
api: Test api
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Oct 28, 2020
1 parent d60ed6b commit 7721377
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/test.js
@@ -0,0 +1,6 @@
import {NowRequest, NowResponse} from '@vercel/node';

export default (request: NowRequest, response: NowResponse) => {
const {name = 'World'} = request.query;
response.status(200).send(`Hello ${name}!`);
};

1 comment on commit 7721377

@vercel
Copy link

@vercel vercel bot commented on 7721377 Oct 28, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.