Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit57f5cb1

Browse files
authored
Swap from json to query option for sending data
1 parent1e91f49 commit57f5cb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/Notifier/Bridge/FreeMobile/FreeMobileTransport.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ protected function doSend(MessageInterface $message): SentMessage
6060
$endpoint =sprintf('https://%s',$this->getEndpoint());
6161

6262
$response =$this->client->request('POST',$endpoint, [
63-
'json' => [
63+
'query' => [
6464
'user' =>$this->login,
6565
'pass' =>$this->password,
66-
'msg' =>utf8_encode($message->getSubject()),
66+
'msg' =>$message->getSubject(),
6767
],
6868
]);
6969

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp