Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/1998code/isitdownorjustme-API

An API for 'is it down or just me' monitor.
https://github.com/1998code/isitdownorjustme-API

api code nextjs status

Last synced: 2 months ago
JSON representation

An API for 'is it down or just me' monitor.

Lists

README

        

## Getting Started

hero

### Full Tutorial
https://1998design.medium.com/how-to-get-website-status-with-website-monitor-api-a396e945c007

First, run the development server:

```bash
npm run dev
# or
yarn dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

[API routes] This endpoint can be edited in `pages/api/public.js`.

## How to use
1. METHOD: GET
2. API Path: http://localhost:3000/api/public?url=

2a. Local API Sample: http://localhost:3000/api/public?url=https://apple.com or

2b. Testing API Sample: https://monitor-api.vercel.app/api/public?url=https://apple.com
3. Return: `{
"status": 200,
"statusText": "OK",
"isUP": true,
"isDown": false
}`

Resp json

## Questions?
- Please open an issue or ask in discussion section.