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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...