This is a simple (no css or other fancy stuff) example of how to call the Peltarion deployment API straight from your HTML-code. With everything needed included on the same page.

Text to classify:



Full API-Response:


Top Prediction (calling the API through a middleware) from API-Reponse:



Error messages from: "Full API-Response"


Error messages from: "Top Prediction from API-Reponse"