My links
https://linktr.ee/klaturov Be a paid member. Support my work. Join the Klaturov army!
https://www.youtube.com/@flutterflowe...
Support my work
https://github.com/sponsors/bulgariam...
Website
https://bulgariamitko.github.io/flutt...
You can book me as FF mentor or support my work
https://calendly.com/bulgaria_mitko
GitHub repo
https://github.com/bulgariamitko/flut...
Discord channel
/ discord
YouTube channel
/ @flutterflowexpert
I wanted to show how you can use a Variable inside an API Request URL and also this was requested to show what is the data behind the variables - Next Page Number, Number of Loaded Items, Last Response.
In this tutorial, I will show you how to use a variable inside an API request URL in FlutterFlow.
Using variables in an API request URL can be a useful way to customize the request and retrieve specific data from the server. In this tutorial, we will see how to use variables in an API request URL and how to access the data behind the variables.
We will start by setting up a FlutterFlow project and installing the necessary dependencies, such as the http package. Then, we will see how to use the http package to make an API request and how to include variables in the request URL.
Next, we will see how to access the data behind the variables, such as the next page number, the number of loaded items, and the last response. We will also see how to use this data to control the pagination and loading of the data in the app.
Finally, we will see how to handle errors and exceptions that may occur during the API request and how to display the data in the app.
By the end of this tutorial, you will have learned how to use variables in an API request URL in FlutterFlow and will have the knowledge and tools to do so in your own projects. So, stay tuned and thanks for watching!
In this video
00:00 Introduction
00:34 Requests Get/POST/PUT
04:09 PipeDream
08:45 Return result from request
14:28 Test API Calls
17:50 Setup Infinity scroll
20:15 Review Infinity Scroll Results