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
- Custom Topic sent from Function (with sc...
Can I send a message on a custom topic? So clients can subscribe to them?
- Function scheduling is not functional on...
Hello everyone! I'm using Appwrite Cloud and I have a function that runs every day at 00:00 UTC. Preciously it worked fine, but it didn't fire last night and i...
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...