Hi,
I have an issue with writing a string to Talkback (returnng 401 code).
TalkBack ID: 123456
Command ID: 789011
Designer view:
web1 url = https://api.thingspeak.com/talkbacks/123456/commands/789011.json
Blocks view:
Call web1.PutText = api_key=AAAAAABBBBBCCCC&command_string=Open&position=2
What am I missing ?
Regards,
Mb
TIMAI2
September 27, 2020, 10:58pm
2
Hi Tim,
That's true POST and GET can be use.
TalkBack ID: 12345
api_key=AAAABBBBBCCCCC
command_string = OPEN
From Thingspeak documentation:
POST https://api.thingspeak.com/talkbacks/12345/commands.json
api_key=AAAABBBBBCCCCC
Now how do you set that into an APP inventor.
That's where I'm struggling.
Regards,
Mb
TIMAI2
September 28, 2020, 8:33am
4
Hi Tim,
I've manage to had it working I guess I needed to excange on the topic.
What I have found is that :
web1.PutText let you write/update to a talkback position.
web1.PostText let you add a talkback command at the end of the other comand.
Many thanks !
Kind regards,
Mb
If you want