Handling Special Characters in API Requests with Flutterflow

Actions & Logic

I am working with an API that processes text input from a textfield and sends it to OpenAI. However, the code fails whenever the text includes line breaks or quotation marks (“”). How can I remove or replace these special characters in a Flutterflow text field (or an alternative method) before sending the data to the API?

What have you tried so far?

NA

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