API Interceptor

Database & APIs
Resolved

Can FlutterFlow folks share more details on what we can do with this new feature?

The most important thing is to be able to add a sort of retry logic (i.e. the interceptor has access to the original call details and can trigger a retry) else going by the loops and stuff is so... inefficient!

Update: I just tried it out in my project. The interceptor isn't called at all.... Yes, you can define it but triggering that API call doesn't trigger the interceptor. You can also see that nothing in the project will call the interceptor. The names of the parameters looks hopeful though! I can see a "retryFn"!!!

What have you tried so far?

Just added it to my API call to see what happens.

I downloaded the project to my local machine to set the breakpoints so that I can examine what's there but the code run didn't touch this custom action (which is an interceptor)

Did you check FlutterFlow's Documentation for this topic?
Yes
3
7 replies