Can you provide link to API doc? Actually, you may have conflict between paramters and json. Also, what the API expect? JSON or form-data? Because on the first screenshot, even if you set content-type application/json, Bubble will ignore it because you selected form-data
Also, I think these parameters need to be in the body parameters section instead and added to the JSON body request (where you have discount, interest, etc).
Thank you guys for your tips!!!
In fact, I thought it was possible “mixing” both ways when we make a call – form parameters AND json body, but it looks like I can’t do that and, to be honest, it makes sense! If I use one of the ways (either parameters or body) it works.
BUT, I’m trying to understand how this guy was able to do that in his plugin:
Hi @Jici ,
I can send either way and it will work!
I was trying to understand if it was possible to mix the ways (parameters AND body). Like in this plugin:
Here’s the editor link: Bubble Plugin Editor - ASAAS
I did a few tests and normally, Bubble will send nothing if there’s a conflict between parameters and body. Not impossible that the plugin API editor have a different behavior…
TKS @Jici !
Interestingly, I have done exactly the same combination of Parameters and Body EXCEPT that I didn’t select the “Queryst.” checkbox for my Parameters fields.
And, guess what?! THAT’S EXACTLY THE SECRET!
I created the call again, checked that boxes and… voila!! It worked!