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

Appearance settings

Commit 57f5cb1

Browse filesBrowse files
authored
Swap from json to query option for sending data
1 parent 1e91f49 commit 57f5cb1
Copy full SHA for 57f5cb1

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/FreeMobile/FreeMobileTransport.php
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.