SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗
Logout

Connect Your SAP Build Application to a Public API

Connect your application to a public API and then test that it's pulling the right information.

Overview

🎓 beginner 10 min. SAP Build AppsBeginnerMobileSAP Business Technology Platform

You will learn

  • How to add and configure data resources
  • How to test data resources
Daniel Wroblewski D Daniel Wroblewski April 29, 2025
Created by November 5, 2024
Contributors

Prerequisites

Steps

Step 1 Add data resources

  1. Open your app to the Integrations tab.

    Add data source
    Add data source

  2. Under SAP Build Apps classic data entities, click Create Data Entity.

    Select Universal REST API integration.

    Rest API direct integration
    Rest API direct integration

  3. Configure the resource with the following details:

    FieldValue
    Data entity nameOpenFoodFacts
    Base API URLhttps://world.openfoodfacts.net/api/v0
    Data entity descriptionData from Open Food Facts API

    Enter data resource information
    Enter data resource information

  4. Scroll down to the Additional Inputs section, and click Add New to add a placeholder for a parameter in the URL.

    Additional inputs
    Additional inputs

    The API enables us to send a barcode as part of the URL, and then returns information about the food with that barcode.

    In the dialog, add a field called barcode of type text.

    IMPORTANT: Make sure you do not add an extra space to the end of barcode.

    Click Add.

    Additional inputs
    Additional inputs

    If you scroll down you will see the additional input.

    Additional inputs result
    Additional inputs result

Step 2 Configure retrieve data
+
Step 3 Test data sources
+
Step 4 Set schema from response
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Add data resources 2. Configure retrieve data 3. Test data sources 4. Set schema from response

Learn more →