Skip to content
Back

[SOLVED] IOS REST request to hit function

  • 0
  • Functions
  • Apple
nishp77
6 Jul, 2023, 21:49

I was trying to hit the request but it doesn't work I don't know however if I execute from console dashboard it works?

TL;DR
The user was having trouble making an iOS REST request to hit a function but found a solution by using "data": "jsonString(data you want to send)". They were initially trying to use Postman but it didn't work, although executing it from the console dashboard did work.
nishp77
6 Jul, 2023, 21:50

I set the 2 fields as per https://appwrite.io/docs/rest

nishp77
6 Jul, 2023, 21:50

Was trying to hit the endpoint using postman

nishp77
6 Jul, 2023, 22:32

No worries I found out by checking the SDK functions

nishp77
6 Jul, 2023, 22:33

it had to be

"data": "jsonString(data you want to send)"

nishp77
6 Jul, 2023, 22:33

thanks

Drake
7 Jul, 2023, 00:16

[SOLVED] IOS REST request to hit function

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more