Back to explore

networking

Tunnel

Credits: 0.000001

Send

POST /v1/tunnel/Send

Send a request through the tunnel

Request

bodystring

body of the request

headersobject

headers to include e.g Content-Type: application/json

hoststring

host to send to e.g www.google.com

methodstring

method of the request e.g GET, POST, DELETE

paramsobject

request params to include

pathstring

path to request e.g /news

urlstring

alternatively specify a full url e.g https://www.google.com/news

Response

bodystring

body of the response

headersobject

headers included

statusstring

the status

status_codenumber

the status code

Request

Response

{
    "status": "200 OK",
    "status_code": 200,
    "headers": {
        "Cache-Control": "private, max-age=0",
        "Content-Type": "text/html; charset=ISO-8859-1",
        "Date": "Sun, 20 Mar 2022 21:33:55 GMT",
        "Expires": "-1",
        "P3p": "CP=\"This is not a P3P policy! See g.co/p3phelp for more info.\"",
        "Server": "gws",
        "Set-Cookie": "CONSENT=PENDING+060; expires=Tue, 19-Mar-2024 21:33:55 GMT; path=/; domain=.google.com; Secure",
        "X-Frame-Options": "SAMEORIGIN",
        "X-Xss-Protection": "0"
    },
    "body": "<!doctype html><html ...."
}