Read data in MIT app inventor

Hello, Iā€™m new in IoT and for the first time I want to try read data in app inventor. I want to ask how to read data in the inventor app? Thank you.

Hy @nuraqmarina99,

Actually it is quite simple, you just have to call the device resource api from your app inventor project and wait to receive the answer in json

note that you have to add an access token, as the authoritation that appears there will be replaced in few minutes.

You can find additional information about the REST API in the documentation and using the chrome inspector.

hope it helps

Did you maneged to splve the problem?
I have the same issue.
Hoop to read from you.
Best of luck, Yme

Hi @Yme_Dikkerboom,

did you tried to make a GET request like @JorgeTrincado suggested on its posts?

Take a look to the following example, as it is the same but getting data from

It worked well. Thanxx.

1 Like