Skip to content
⬆️ A microservice to check whether a website is πŸ†™
JavaScript
Branch: master
Clone or download
1
Latest commit 5527822 May 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Add .gitignore Mar 12, 2017
.travis.yml Fix tests May 31, 2019
index.js Upgrade to Now 2.0 May 31, 2019
license Add MIT license Mar 13, 2017
now.json Upgrade to Now 2.0 May 31, 2019
package-lock.json Upgrade to Now 2.0 May 31, 2019
package.json Upgrade to Now 2.0 May 31, 2019
readme.md Fix tests May 31, 2019
test.js Upgrade to Now 2.0 May 31, 2019

readme.md

Micro πŸ†™

Build status

A microservice that checks whether a website is up or not.

Usage

By default, availability information is sent using plaintext, e.g.

GET https://up.now.sh/google.com
HTTP/1.1 200 OK

google.com is up.

Using JSON

You can override the default (plaintext) by appending ?json to the end of the URL, eg - http://up.now.sh/google.com?json.

GET https://up.now.sh/google.com?json
HTTP/1.1 200 OK

{"url":"google.com","status":"Up"}

Contributing

If you'd like to contribute (you can skip a few of these steps if you'd like πŸ˜‰):

  1. Clone the repo
  2. Make a new local branch
  3. Change what you'd like
  4. Write some tests
  5. Make a Pull Request!

✌️

Deploy

Deploy to now

now hugomd/micro-up
You can’t perform that action at this time.