API Call

Database & APIs

I am developing a login process using email and password. I want to implement authentication by making requests to an API that I developed myself. If the login is successful, the API returns a StatusCode 200 and an access token; if it fails, it returns a StatusCode 401 and an error message.

In FlutterFlow, I specified the login API in the API Call and set up an action on the login button to send the entered email and password. In the ActionFlow screen, I specified the BackEndCall as Action 1 and selected the login API that was set in the API Call.

However, when trying to select the StatusCode in the API Response Options for Conditional Action 1, it appears in red and cannot be selected.

What should I do?

What have you tried so far?

I have reconfigured the API.

Did you check FlutterFlow's Documentation for this topic?
No
1
1 reply