Add simple API test without dependencies
This commit is contained in:
parent
dc419f681b
commit
c218dd53ac
1 changed files with 7 additions and 0 deletions
7
pages/api/simple.js
Normal file
7
pages/api/simple.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
export default function handler(req, res) {
|
||||||
|
res.status(200).json({
|
||||||
|
success: true,
|
||||||
|
message: 'Simple API is working!',
|
||||||
|
timestamp: new Date().toISOString()
|
||||||
|
});
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue