How can someone send data in my app?

Hi forum,
I am working with an affiliate partner who wants to send us data. Therefor he wants to use a “Post request” to create a new thing in our database.

What do I need to send him?

Do I just select the checkbox for the datatype, and send him the fields within the datatype with the screenshots above?

Is that enough so he can create a post request to create a new thing?

Regards,

You need to also create the backend workflow which is where the post request would be sent to…check out Bubble manual on the API section (one of the few places they did a great job)

1 Like

Hi Jona,

// Leuk ook Nederlanders te zien op het forum //

To create a new “Thing” via Bubble’s API, you indeed create an API token, but you also need to create a workflow in the Backend Workflows that specifies everything that needs to happen to create a new “Thing.” In this workflow, you can set up the necessary actions, conditions, and data manipulations required for the creation of a new “Thing” in your application.

There you can set also the name of the workflow, the user can then use the link something like this: https://app.prijzenbond.nl/version-test/api/1.1/obj/API-WORKFLOW-NAME

Please note, the people with whom you share the API key can also use other API workflows. Therefore, you should implement a condition that specifies what is and isn’t allowed with this API key. In other words, you need to establish and enforce access controls to ensure that the API key is only used for its intended purpose and not abused for unauthorized activities.

1 Like

\ Zeker leuk om Nederlanders te zien \

Ok thank you a lot! This helped me a lot!

Regards,

Ik heb een vraag Martijn,
Ik gebruik eigenlijk veelal een database triggger event. Kan ik deze niet gewoon aanhouden? Hier gebeurd eigenlijk iedere actie dat gebeurd moet worden.

This topic was automatically closed after 70 days. New replies are no longer allowed.