Keyword Planner Tool Enter a Keyword: Get Keywords
- Get link
- X
- Other Apps
const express = require('express');
const bodyParser = require('body-parser');
const cors = require('cors');
const app = express();
const PORT = 3000; // You can choose any available port
app.use(cors());
app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.json());
app.get('/api/check-bad-links', (req, res) => {
const websiteUrl = req.query.websiteUrl;
// Replace this with your actual logic to check for bad links
// For demonstration purposes, it always returns a placeholder result
const result = { message: `Checking bad links for ${websiteUrl}. Placeholder result.` };
res.json(result);
});
app.listen(PORT, () => {
console.log(`Server is running on port ${PORT}`);
});
- Get link
- X
- Other Apps
Comments
Post a Comment