API Interceptors and ApiCallOptions parameters

Database & APIs

Hello,

I have recently discovered the API Interceptors options that allow many interested things. But there is something I don't understand, concerning the accepted parameters of ApiCallOptions :

Interceptors are quite used for encryption, so I don't understand why the body's type is String?, this is a bit restrictive. To compare, the RequestData method of the http_interceptor allow dynamic body's type, which is so much better for encryption processes :


There is any particular reason concerning this choice ? Is it an other way to send List<int> type on the body with ApiCallOptions ?

Thank you

What have you tried so far?

Encoding List<int> with base64 but the result is different on server-side

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