Hey everyone, today we’re excited to expand how we handle in Draftbit — allowing you to build more complicate apps and user flows.
All the HTTP methods: In addition to
GET methods, you can now create API Endpoints that utilize
PATCH , and
DELETE methods, allowing you to create and update data on your backend server.
Updates to Submit Data Action: These new endpoints can be accessed via the Submit Data action that you can add to any interactive component.
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?
+ = ! While new HTTP methods and stackable actions are awesome on their own, they work best together. For example:
Create a new contact in a CRM database, and then navigate to a list of all Contacts.
Update the bio of your user account, and then navigate to your profile page.
Submit a review for a restaurant, and then see all reviews for that restaurant.
Create an “add to favorites” touchable icon that adds an item to a Favorites list, then displays all your Favorites.
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
/restaurants , and
/todo APIs to build the examples mentioned above).
Let us know if you have any questions; we look forward to seeing all the fun stuff you’re building.
The Draftbit Team