TL;DR
Someone had a problem with making a post request in Appwrite function. The issue was that they forgot to parse the body in the functions. The problem has been solved by JSON stringifying the body before sending the request with the REST API.After request
Hello π When sending body to execution directly with REST API, make sure to JSON stringify the body first. The body must be string, but its object in your screenshot
Cool
Log is empty
As you can see
Oh, I meant somrthing like this:
TypeScript
{
"body": "{\"name\": \"Matej\"}"
}
One sec, trying to figure out how to format it on mobile. π
solved
I forget to parse body in functions
[Solved] Make post resquest in Appwrite function
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- SSL certificate generation failed even t...
Hello, I have an Appwrite Site for which I added a custom domain. However, even though the domain is verified, the SSL certificate generation is failing. It is ...
- [Self-hosted] Realtime crashes with "Mis...