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
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...