Also you forgot to set the request header
Content-Type
application/x-www-form-urlencoded
Taifun
Also you forgot to set the request header
Content-Type
application/x-www-form-urlencoded
Taifun
Here is an example App Inventor Tutorials and Examples: MySQL | Pura Vida Apps
Remove the Get method
EDIT: Add the Request header block
Use the Post method together with the BuildRequestData method as shown in the example
Taifun
Thank you Taifun and Kevinkun, I could create the channel successfully.
the blocks are as seen below. I still need your help in passing three more parameters.
name=My Channel (this is done with your help)
public_flag=true
field1=Stuff
field2=Things
field3=Data
I tried this
Please guide
use & not \n
The request header block needs a list of sublist, each of the sublists is a tag/value pair.. as it is working without being correct, you can omit that block
Also the BuildRequestData method needs a list of sublists, i.e.withoug the =
name
MyChannel1
field1
Stuff
field2
Things
field3
data
Taifun
Thank you Taifun and Kevinkun, I think my issues are addressed.
Below is the block I used for testing and it worked
but your block is not correct for the RequestHeaders, it should be a list of list, as @Taifun mentioned in last post.
Did you got any error message?
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
This is in continuation of the below post
The result of above was & it is working
But I tried to modify the data as below
The system works but I get a message as
Please help to find the error.
A few days ago we found an error in the SpreadSheet component with the join block. I don't know if the join with Web has the same error.
https://community.appinventor.mit.edu/t/testers-wanted-google-sheets-component/49195/58
Check to put the data in an Intermediate Label.
header should be a list of list.
You need to add a 'make a list' block.
You misunderstood..
The request header must be a list of lists, I.e. 2 make a list blocks....
See again
Taifun
Dear Taifun,
if I change anything in request header the channel creation is not happing as per requirements.
We can only work with the PostText.
do you know the meaning of 'list of list'?
or set the header as a Dictionary.
Thanks Kevinkun,
I did not know but learned from a reply from Taifun.
I tried but with no success.