nanomap/api/click.js

9 lines
244 B
JavaScript
Raw Normal View History

const getArgs=(s)=>s.split('@@')
export default function handler(req,res){
2023-11-27 08:49:11 +08:00
const {body}=req;
res.status(200).json({
2023-11-27 08:49:11 +08:00
log: `Method: click\nArgs: ${body}\nStatus: returned the raw polylines`,
multipolyline: body,
});
}