With the Block Store it is easier than ever before to implement top-notch Webservices. All just in a few mouseclicks away!
Last updated: 27-08-2020
First of all, we need a Block to install. In this demo I'll use the Google Maps API.
Scroll through the menu until you find it or use the search function and click the Install button. You can also open the Block in a detailed view for more information.
According to the description, this Block is useful for my application. Let's install it!
After clicking Install in the top right corner, a spinner will show. Moments later when the installment has completed the green confirmation bar appears.
Next, we're going to look at our newly added Google Maps API.I headed to the Webservices section within my application. The Webservice automatically receives the name that can be seen in the Inside this Block part on the Block itself.
Looks pretty good, doesn't it? The Webservice was successfully added to my app, including the endpoints that do the actual job(s). The endpoints where values are passed from an action are mostly configured with variables to keep the Blocks as universally as possible. This means selecting the endpoints as http request events in your action only requires connecting the right values to the variables.
Note: Installing a Block once does not prevent you from installing it again.Whenever a Block is installed containing a Webservice with an (in your app) existing name, the Webservice is added as a duplicate. This means the Google Maps API I installed will be named Google Maps API (1) when I install it again. They will be treated as separate Webservices.