Hi there!
I set up ao API call and it returns 200 success, but when using it on test mode it does not work.
While checking the body of the Action Output on test mode, I identified that it looks like FF adds somes code to the request, which brakes the request. Check it out:
This is the API Test response:
When checking the body of the Action Output on test mode, it seem that some extra codes are added:
The "O usuário com o login..." and "...não existe" are from by API response, but the issue is related to the code within it:
[Closure: (dynamic) => String? from: email(response) {
return flutter_flow_util.castToType(T$.String(), flutter_flow_util.getJsonField(response, "$.username"));
}]
It look like FF grabs my e-mail input from the e-mail field on my login page and add some extra code, since we can see that the is 'email" and the JSON path "$.username" mentioned there.
I'm illiterate in Dart/Flutter whatever that is, so I'm not sure what is going wrong.
Does anyone know what is going on here?