I have an API (from easyship.com) that returns couriers and shipping rates based on parameters passed to it. In the Bubble API I am using POST, I have the “use as” set to “Action”, The body of the API requests includes the following
{
“origin_address”: {
“country_alpha2”: <from_countrycode>,
},
“destination_address”: {
“country_alpha2”: <to_countrycode>
},
}
I have a button that when I press it I want the API to return data based upon the parms.
-
Do I have to use a backend workflow? If so how do i set it up?
-
Where do I initialise the parms to_countrycode and from_countrycode
thanks