Help required HTTP POST implementation

Thank you Taifun and Kevinkun, I think my issues are addressed.
Below is the block I used for testing and it worked :slightly_smiling_face: :pray:

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
Clipboard01

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.

fsdfdfds

header should be a list of list.
You need to add a 'make a list' block.

Tried the below blocks, same response with no success also the channel is not created.

You misunderstood..
The request header must be a list of lists, I.e. 2 make a list blocks....
See again

Taifun

Thanks Juan,
I tried as suggested by you.
But no change.

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.

Here is an example of a correct request Header

Add a make a list block here

Taifun

Thanks Kevinkun,
I did not know but learned from a reply from Taifun.
I tried but with no success.

Thanks Taifun,
I understood your reply, but no success.
Please note as soon as I change anything in the Request Header the channel is not created as per requirement. Hence the list of lists did not help.
Sharing both versions I tried.


So I feel something must be done in the PostText section but cannot figure out what exactly.


other same as your previous blocks

Noone said, you should move everything to the header

Taifun

Hi Taifun,
I don't think I am able to understand.
Any change in the Header is not working and PostText works ok but only gives the error message.
So maybe I must live with it.

Thanks for all the help and for getting me up to this level.

From the blocks in your first post the ONLY thing you have to add is a make a list block in the request header WITHOUT adding or changing anything else

Taifun

Hi,
I was not clear on what to add to the second component of make a list. then made a single component make a list, it worked :slightly_smiling_face:
The working block is as below.


Thanks, both of you.