Executing decentralized HTTP requests using Javascript and Bitcoin Ordinals
An example website that executes a HTTP GET request Axios hosted on the Bitcoin blockchain using the Ordinal protocol. Users can execute a HTTP GET request via Axios hosted on the Bitcoin blockchain using the Ordinal protocol. A Bitcoin Ordinal inscribed with the minified Axios version 1.4.0 library is available as a CDN on the Bitcoin blockchain. You can access the Bitcoin version of Axios by calling the Ordinal URL using the <script> tag. This is a form of decentralized HTTP protocols.
Clone the library.
git clone [email protected]:vondas-network/btc-axios.git
Open index.html and it will look like this ...
Open the web browser inspector. Click the button and look at the response.
An HTTP GET request was created using Axios hosted on the Bitcoin blockchain using the Ordinal protocol.