Hello! I’m new on bubble.io and I would like to know if is it possible to add dynamic values to a PUT.
I’m trying to edit my products inventory on a store by using API.
The thing is that I would like to filter these products in my app and then send the PUT request to change the inventory… So the question is, can I add a dynamic value defined inside the app on the request body?
By the date of this post, you may have already solved it.
As I was looking for something similar, I will put the solution here if someone else is in doubt about it.
In the API parameters, just uncheck the “Private” option. This way it is possible to access this parameter in the application. It doesn’t matter if it’s in the header or in the body.
Also can be in a “POST”, “GET” or “PUT”. Whatever