How will I specify the values of these dynamic variables when I make the call? Will it take from custom state of the page? Or will i get an option of “Insert dynamic values” in the editor when I make the call?
I tried what you said, but when I clicked on “Initialize call”, (which I reckon is mandatory, otherwise option of making api call doesn’t show up), I got some error from API about something being present in the parameter. Since I haven’t yet specified the parameter value, where is it taking the parameter value from?
Also, does it depend on whether I am making a POST or GET call? Here I am making a POST call, where I also see something like “Use [] for params”. But it is not clear as to use where and how.
Basically:
GET is used to request data
POST is used to send data
You have to follow the Api documentation from the service that you are try to use.
some advices:
At Body Json between the parameters have a comma “,”;
Remove this flag private;
Add values for the parameters;
You will use this params[] only if you have some specific information to pass at the call URL.
Thanks. I did this as shown below, but still getting same error.
I do understand the difference between GET and POST. I was asking that the way parameters are to be specified, does it depend on whether it is GET or POST.
Public or Private will depend of the declaration of variable created in the source code. Because of that you have to follow the Api documentation of the supplier.
But it is really bizarre. I am already paying to Bubble. And what I am looking for is something that should be obvious from the documentation and documentation is just outdated.
Bubble team should be helping here rather. What I need is just a clear documentation with examples and I’d do it. Their documentation and examples are outdated.