From 342e1925a92dd160a57ad064ea25818f96596cbf Mon Sep 17 00:00:00 2001 From: Yu Wei Chang Date: Tue, 7 Dec 2021 01:17:37 +0800 Subject: [PATCH] Bulk send long message --- src/API.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/API.php b/src/API.php index 2da3495..5994c77 100644 --- a/src/API.php +++ b/src/API.php @@ -105,10 +105,10 @@ public function sendLongMessageBatch(array $messages) $request = $this->client->newRequest( 'POST', $this->client->buildUriWithQuery( - $this->client->getLongMessageBaseURL() . '/SpLmPost', + $this->client->getLongMessageBaseURL() . '/api/mtk/SmBulkSend', ['Encoding_PostIn' => 'UTF8'] ), - 'text/plain', + 'application/x-www-form-urlencoded', $body );