7 lines
177 B
JavaScript
7 lines
177 B
JavaScript
|
const getArgs=(s)=>s.split('@@')
|
||
|
|
||
|
export default function handler(req,res){
|
||
|
res.status(200).json({
|
||
|
log: `Method: click\nArgs: ${getArgs(req.query.query)}`,
|
||
|
});
|
||
|
}
|