I want to get data from an API. I want to show for example the temperature in a textblock. I can get my data with an http request like this:
curl --location -g --request GET ‘URL/read?filter[limit]=1’ \
–header ‘Authorization: specfic secret code’ \
–header ‘Content-Type: application/json’
How can I convert this to the main.js where I coded with BabylonJS?