A GET request is called a HTTP method and TM1 REST API supports 4 different HTTP methods:
Read moreHow do you access REST API in flutter?
Accessing Product service API
Read moreHow do I get fetch data from API?
Approach: First make the necessary JavaScript file, HTML file and CSS file. Then store the API URL in a variable (here api_url). Define a async function (here getapi()) and pass api_url in that function. Define a constant response and store the fetched data by await fetch() method.
Read moreWhat is fetching data from API?
This is achieved by using APIs like XMLHttpRequest or — more recently — the Fetch API. These technologies allow web pages to directly handle making HTTP requests for specific resources available on a server and formatting the resulting data as needed before it is displayed .
Read more