kntoukakis / get-status-code

A bitcoin payable API that checks the http status code of a given website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get-status-code

A bitcoin payable API that checks the http status code of a given website

How to use:

This service returnes the HTTP status code of a given website, in exchange for bitcoin

To check a website run:

21 buy 'http://[fcce:a977:ee7d:817b:3380:0000:0000:0001]:4000/check_website/URL'

For example:

21 buy 'http://[fcce:a977:ee7d:817b:3380:0000:0000:0001]:4000/check_website/www.google.com'

Important note: Don't add "http://" or "https://" in the beginning of the web address, otherwise you will break the operation.

Then you will receive a json string in the form of dictionary with the status code and its description

 {
    "200": "OK"
}

Requirements

  1. A 21 Bitcoin Computer or 21 installed on AWS or MacOS
  2. You need to be connected to the 21 Network

About

A bitcoin payable API that checks the http status code of a given website

License:MIT License


Languages

Language:Python 100.0%