Skip to content

Blockshare/request402

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Blockshare

request402

Request the IP address, Headers, and Status Code of any website.

Basic Requirements

  1. A 21 Bitcoin Computer or 21 installed.
  2. You will need to be connected the 21 Zerotier Marketplace.

How to use:

$ 21 buy http://10.244.107.98:3002/get_status/www.example.com -> Status and headers
$ 21 buy http://10.244.107.98:3002/get_ip/www.example.com --> IP Address

Here is an example of the JSON response when running /get_status/ for Google.

 {
    "200": "OK",
    "headers": [
        [
            "Date",
            "Mon, 22 Aug 2016 17:29:27 GMT"
        ],
        [
            "Expires",
            "-1"
        ],
        [
            "Cache-Control",
            "private, max-age=0"
        ],
        [
            "Content-Type",
            "text/html; charset=ISO-8859-1"
        ],
        [
            "P3P",
            "CP=\"This is not a P3P policy! See https://www.google.com/support/accounts/answer/151657?hl=en for more info.\""
        ],
        [
            "Server",
            "gws"
        ],
        [
            "X-XSS-Protection",
            "1; mode=block"
        ],
        [
            "X-Frame-Options",
            "SAMEORIGIN"
        ]
    ]
}

This is an example of runnng /get_ip/ for Google.

{
    "ip_address": "216.58.219.164",
    "url": "www.google.com"
}

About

Check the status, headers, and IP address of HTTP & HTTPS websites using micropayments. This is the Flask version.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages