Submit Data & Stackable Actions!

Hey everyone, today we’re excited to expand how we handle in Draftbit — allowing you to build more complicate apps and user flows.

What’s new?

:cloud_with_lightning: All the HTTP methods: In addition to GET methods, you can now create API Endpoints that utilize POST , PUT , PATCH , and DELETE methods, allowing you to create and update data on your backend server.

:zap:Updates to Submit Data Action: These new endpoints can be accessed via the Submit Data action that you can add to any interactive component.

:pancakes: Stackable Actions: You can now chain actions together to perform complicated flows. For example, you can POST and then Navigate to a new screen.

What can you do with these updates?

:one: + :one: = :metal:! While new HTTP methods and stackable actions are awesome on their own, they work best together. For example:

:busts_in_silhouette: Create a new contact in a CRM database, and then navigate to a list of all Contacts.

:dizzy: Update the bio of your user account, and then navigate to your profile page.

:burrito: Submit a review for a restaurant, and then see all reviews for that restaurant.

:black_heart: Create an “add to favorites” touchable icon that adds an item to a Favorites list, then displays all your Favorites.

:ballot_box_with_check: Delete a mistaken to-do from your to-do list and then refresh the list of to-do’s.

Best of all, you don’t need your own API to get started using these features right away. Our free Example Data tool is fully compatible with all of these new features (check out the /people , /restaurants , and /todo APIs to build the examples mentioned above).

Learn More

Let us know if you have any questions; we look forward to seeing all the fun stuff you’re building.

Thanks

The Draftbit Team

endpoints

3 Likes