diff --git a/src/Appwrite/Auth/Phone/Msg91.php b/src/Appwrite/Auth/Phone/Msg91.php index 8ae7c44665..64e5973597 100644 --- a/src/Appwrite/Auth/Phone/Msg91.php +++ b/src/Appwrite/Auth/Phone/Msg91.php @@ -31,7 +31,7 @@ class Msg91 extends Phone $this->request( method: 'POST', url: $this->endpoint, - payload: \http_build_query([ + payload: json_encode([ 'sender' => $this->user, 'otp' => $message, 'flow_id' => $from,