How to set parameters for doing a post web api calls?
It depends on what you need. Can you provide details about the API?
Did you already do a Google search for post API Thunkable? Because the first few results include topics on the forums that have video tutorials and sample screenshots of blocks.
I tried this but didn’t work
The POST and HOST in the Headers
are part of the URL and should not be mentioned in the header.
I don’t know about the email
and password
of they have to be in Body
or in QueryParameteres
.
removed post and host.
But response is empty
When I try them in QueryParamaters I get error saying missing parameters.
That’s great! That means your api call was a success! What were you hoping to receive as a response?
Can you display the Error
and the Status
to see if there is an error reported by the server.
Are you expecting a login token or something similar?
There was no entry in the database. email was not inserted to the database
If you are referring to the database of the cart provider then I’m sorry I wouldn’t be able to help.
Solved it the problem was that the parameters was never set on button click. Thanks for the assist.
You need to check with the owner/provider of the simple database and ask them to check the logs or whatever things they need to do to trace your request and why it is not recorded in the database.
Great news. Then please mark this post as solved so others can refer to it and get the quidance.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.