Différences
Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.
calendrier:2019:02:09 [Le 10/02/2019 à 10:49] rzr |
calendrier:2019:02:09 [Le 12/02/2019 à 10:56] (Version actuelle) rzr |
||
---|---|---|---|
Ligne 11: | Ligne 11: | ||
==== DEMO ==== | ==== DEMO ==== | ||
- | * https://peertube.mastodon.host/videos/embed/13749076-c906-44fb-966b-0a2a010c605f | + | * https://peertube.mastodon.host/videos/embed/13749076-c906-44fb-966b-0a2a010c605f |
- | * https://glitch.com/~gulliver-webxr-iot | + | * https://glitch.com/~gulliver-webxr-iot |
+ | * https://www.youtube.com/watch?v=5XaD6eS6OUE | ||
+ | * https://glitch.com/edit/#!/gulliver-webxr-iot?path=refreshing.html:21:0 | ||
Ligne 107: | Ligne 109: | ||
* changing the color of a cube based on a value sensor (simulated for now) https://glitch.com/edit/#!/gulliver-webxr-iot?path=refreshing.html:22:0 | * changing the color of a cube based on a value sensor (simulated for now) https://glitch.com/edit/#!/gulliver-webxr-iot?path=refreshing.html:22:0 | ||
* http://gulliver-webxr-iot.glitch.me/leds.html | * http://gulliver-webxr-iot.glitch.me/leds.html | ||
+ | |||
+ | |||
+ | |||
+ | ==== VRAC ==== | ||
+ | |||
+ | https://api.qr-code-generator.com/v1/create?access-token=EBephxedmZHs9OWzR2Kbv-125ifulLI1LemyW4NO2hwWifAzpHadEVcOq-OkFtNz&frame_name=no-frame&frame_color=%23000000&foreground_color=%23000000&marker_left_template=version1&marker_right_template=version1&marker_bottom_template=version1&qr_code_text=http%3A%2F%2Fgulliver-webxr-iot.glitch.me%2Frefreshing.html&frame_text=Scan%20me&frame_icon_name=mobile&image_format=PNG&image_width=300&download= | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | fetch('http://gateway.local:8080/things', { | ||
+ | headers: { | ||
+ | Accept: 'application/json', | ||
+ | Authorization: 'Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjlkMTcyMWFhLWNiOGUtNGIwMi04MTQyLWMyMTBlMjkyNzk3NSJ9.eyJjbGllbnRfaWQiOiJsb2NhbC10b2tlbiIsInJvbGUiOiJhY2Nlc3NfdG9rZW4iLCJzY29wZSI6Ii90aGluZ3MvdmlydHVhbC10aGluZ3MtMjpyZWFkd3JpdGUgL3RoaW5ncy9odHRwLS0tbG9jYWxob3N0LTU4ODg4LTpyZWFkd3JpdGUiLCJpYXQiOjE1NDk3MjE4NTMsImlzcyI6Ik5vdCBzZXQuIn0.oUIJZzKhPpUfbjkes0KsseHQzzmPufnUcgIOYj-jsnUxdcqty3CSFeUcuH94LlTNl-NVxlJnnePhWYszLOppPA' | ||
+ | } | ||
+ | }).then(res => { | ||
+ | return res.json(); | ||
+ | }).then(things => { | ||
+ | console.log(things); | ||
+ | }); | ||
+ | |||
+ | |||