fred 2023-04-14 16:48:41 +02:00
parent 5a06a1232b
commit c2d2b61f92
1 changed files with 7 additions and 0 deletions

View File

@ -88,6 +88,8 @@ Voici comment procéder en BASH ou JAVASCRIPT
curl -so ~/.zen/tmp/${MOATS}/astro.rep "http://$TELETUBE:$TELEPORT" curl -so ~/.zen/tmp/${MOATS}/astro.rep "http://$TELETUBE:$TELEPORT"
``` ```
### JS ### JS
Exemple :
``` ```
var myURL = 'http://astroport.localhost:1234/?' + query; var myURL = 'http://astroport.localhost:1234/?' + query;
async function fetchAstroport(myURL) { async function fetchAstroport(myURL) {
@ -112,6 +114,11 @@ async function fetchAstroport(myURL) {
} }
``` ```
Utilisez astro.js
```
<script src="http://127.0.0.1:8080/ipfs/QmYjUbg8NzsXxkYV5NnK2rwv38VGd5z8dhxr3zEph6qFQM/astro.js"></script>
```
## ➤ PRIVATE ZONE (fonctionne sur toutes les Stations.) ## ➤ PRIVATE ZONE (fonctionne sur toutes les Stations.)
### ```/?salt=${SALT}&pepper=${PEPPER}&${APPNAME}=${WHAT}&${OBJ}=${VAL}...``` ### ```/?salt=${SALT}&pepper=${PEPPER}&${APPNAME}=${WHAT}&${OBJ}=${VAL}...```