Web API Apps component framework sample

The web API component is designed to perform create, retrieve, update and delete actions. The component renders four buttons, which can be clicked to invoke different web API actions. The result of the web API call is injected into a HTML div element at the bottom of the code component.

Preview of the sample

Compatibility

This sample works for model-driven apps.

Applies to

Power Apps component framework

Get your own free development tenant by subscribing to Power Apps Developer Plan.

Contributors

This sample was created by the Power Apps component framework team.

Version history

Version Date Comments
1.0 January 18, 2024 README created

Prerequisites

Install the Microsoft Power Platform CLI.

Try this sample

Follow the steps in the README.md to generate solutions containing the controls so you can import and try the sample components in your model-driven app.

Implementing Web API component

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.