Using ThingSpeak API with MIT AI2

how to update thingspeak using mit(send values through app to thingspeak)

Then you may use the Web Component to communicate with the API.

Resources:

Web component
http://ai2.appinventor.mit.edu/reference/components/connectivity.html#Web

ThingSpeak API
https://www.mathworks.com/help/thingspeak/writedata.html
https://www.mathworks.com/help/thingspeak/rest-api.html

WEB Component with API Tutorial (Click to open)


Increase the value by one for each tap

Try "UTF8" in the encoding block

If you search the Forum for "ThingSpeak" you will find a lot of very useful information.

Free code snippet on my website:
https://www.professorcad.co.uk/appinventorsnippets#SendDataToThingSpeak