Back

[SOLVED] payload while executing function

  • 0
  • Functions
  • Web
itsRohit
13 Jun, 2023, 17:01

How can I pass payload while creating execution of a function from python server and also how to retrieve it in the function to get the process done?

TL;DR
Title: [SOLVED] Passing and retrieving payload in Appwrite Function Messages: [SOLVED] Payload while executing function The issue has been resolved. To pass payload while creating an execution of a function from a Python server, you can send a JSON string and then parse it in your Appwrite Function. In order to retrieve the payload in the function, you can check the `data` parameter in the documentation: [link](https://appwrite.io/docs/client/functions?sdk=web-default#functionsCreateExecution) This is the same process as with any other runtime.
Drake
13 Jun, 2023, 17:50

same as any other runtime. you have to pass a string, one option is to send a JSON string and then you can parse it in your Appwrite Function

itsRohit
13 Jun, 2023, 19:40

okk, Thank you

Guille
13 Jun, 2023, 20:33

Is your issue solved @itsRohit ?

itsRohit
14 Jun, 2023, 04:08

Yes, Its resolved

Drake
14 Jun, 2023, 04:26

[SOLVED] payload while executing function

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