Back

Get the response of functions.createExecution() API response ?

  • 0
  • Android
  • Flutter
  • Functions
mrBaalan
9 Apr, 2024, 13:55

My code is:

TypeScript
final function = await functions
            .createExecution(
                functionId: '66150c717ccc3044fdb0',
                body: '{"sessionId": "$enteredType"}')
            .then((value) => print(value));

How to get the API response ? @Meldiron suggested to use .responseBody. But there are no suggestions matching the same from Android Studio. Any help on this would be of great help.

TL;DR
Developers asked how to retrieve the API response from `functions.createExecution()` in their code. Another developer suggested using `.responseBody`, but it didn't show up as a suggestion in Android Studio.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more