DEV Community

loading...

Discussion on: The amazing powers of the web: Web Serial API

Collapse
unjavascripter profile image
Diego Coy Author

Hi, did you add an Origin Trial token to your app?

The enable-experimental-web-platform-features makes the API available for your browser when developing locally. Once you deploy it you'll need an Origin Trial token to make the browser load the API. Check developers.chrome.com/origintrials...

Collapse
andresgamez profile image
Ændres Gámez

It's working fine. Thanks man!
Another thing I had to do in order to use Serial API was adding a SSL certificate to my site.

Thread Thread
unjavascripter profile image
Diego Coy Author

Great to know! Yep, these new APIs require the web app to use HTTPS to be made available because they can be a risk if not loaded securely.