Can You Use CloudScape with a Custom API on the Backend? #1968
-
Hello team. I have a custom API that returns information about our container images, and I would like to use some of CloudScape's resources to display said information to a user. The user needs to both GET information and PUT information to the API. Please let me know if this is possible. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, you can use Cloudscape with any API you like. Cloudscape itself does not interact with or rely on any backend, it only provides components for the frontend. For example, you can fetch a list of container images from your API in your application, and then display that data by placing it in Cloudscape's Table component. Or, for a details page, you could show information about the container image in a Container element with a Key-value pair layout. We provide some example pages on our website, and you can find the source code for each example by clicking the "Source code" link in the top right of each example page. |
Beta Was this translation helpful? Give feedback.
Yes, you can use Cloudscape with any API you like. Cloudscape itself does not interact with or rely on any backend, it only provides components for the frontend.
For example, you can fetch a list of container images from your API in your application, and then display that data by placing it in Cloudscape's Table component. Or, for a details page, you could show information about the container image in a Container element with a Key-value pair layout.
You can use Cloudscape's form-related components (e.g. Form, FormField, Input, Select, Date picker, etc) to collect your user's data in a form, and when they click a Button, you can make a PUT request to your API.
We provide some example page…