WBIB4 Backend: API Reference

GET /
Access this page

GET /howto
How to make your own

GET /api/access/str:url
HTTP request a given website. The URL must be properly formatted; see below. 401 means either origin not allowed. A successful result returns the following array, in JSON: [[status], {response headers}, ...]. The result array may be of arbitrary length, with the rest of the items of the array being elements separated by \r\n in the response. Usually, the third item will be the raw HTML of a page.

GET /api/raw/str:url
Same as /api/access, but strips result array and simply returns the plaintext of the HTML. This obviously will break some responses.

Formatted URL will appear here...