Hello, I am trying to pass { "myKey": "myValue" } as body to my Appwrite function yet I can't receive the values. When I send the values from dashboard values get send without a single problem but when I try to send it via postman or flutter body returns null. Can you help me out? Thanks.
and this is the postman, I also tried it with headers.
If you're executing the function via that url, it needs to follow the required format
Also, in postman, you should probably be using raw as the body type. Also, you'll need to pass application/json for the content-type header
I suppose these headers are correct
and tried sending them as raw body type
Again, that's the incorrect payload. Please look at the example I linked
Thank you very much for your help! I finally figured out. So simple yet I somehow got lost.
Recommended threads
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...