changed payload encodings

This commit is contained in:
Dineshkumar 2022-07-09 20:12:48 +05:30
parent 817524de4b
commit 020bb160b9

View file

@ -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,