A Simple SERVERLESS Microservice that checks whether a a website is up or not.
Inspired By - Hugo.md's MicroUp 🆙
GET /
Type | Description |
---|---|
string |
a valid Url |
Example : https://isUPNow.netlify.com/google.com
{"url":"https://google.com","status":"down"}
You can deploy this Project on Netlify !
- fork this repo
- Deploy it on netlify
⚠ Use root diretory as build directory
const url = "https://isUPNow.netlify.com/google.com"
fetch(url)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));