Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    SOLVED External API Call

    Cloud Backend (Cloud DB, API Builder)
    2
    4
    369
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Riichard Moore last edited by

      I am trying to call the API externally to create a record in the cloud backend. It creates a record, but with empty fields. I am using the tutorial, and from the front-end works fine. Here is the JSON being passed.
      {
      "name": "Dirk Moore",
      "email": "test@mac.com",
      "DOB": "1978-01-01"
      }

      J 1 Reply Last reply Reply Quote 0
      • J
        jbenguira @Riichard Moore last edited by jbenguira

        Hey @riichard-moore, if you check on your function documentation you will find exemples on how to call your function from various languages

        It seems you are trying to post a json payload to your api endpoint instead of using form data as showed in the documentation

        R 1 Reply Last reply Reply Quote 0
        • R
          Riichard Moore @jbenguira last edited by

          @jbenguira is it possible to pass as a REST endpoint as opposed to sending it as form data?

          R 1 Reply Last reply Reply Quote 0
          • R
            Riichard Moore @Riichard Moore last edited by

            @riichard-moore I get it now LOL.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post