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
- How to access oldValue payload in functi...
I want to record old and new values of data changes as audits. But when i try to read row in function. The value is new already even before grt updated
- Fails to add Custom domain and subdomain...
Case 1 : I've a domain ("remiel.work") which i want to host my portfolio thru appwrite sites. when i try to connect my domain (which i bought from spaceship, ma...
- Immediate function execution seems to be...
Whenever I try to execute a function manually I get an error that the schedule is a required field (even though Now is selected). Not a huge deal, I can obvious...