New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Notifier] Fix encoding of messages with FreeMobileTransport #45185
Conversation
src/Symfony/Component/Notifier/Bridge/FreeMobile/FreeMobileTransport.php
Outdated
Show resolved
Hide resolved
@@ -60,7 +60,7 @@ protected function doSend(MessageInterface $message): SentMessage | |||
$endpoint = sprintf('https://%s', $this->getEndpoint()); | |||
|
|||
$response = $this->client->request('POST', $endpoint, [ | |||
'json' => [ | |||
'query' => [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please try using body
here instead?
if we keep query
, can we keep POST or do we need GET as a method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commented on other discu #45185 (comment)
with query
and POST
it works well
Thank you @94noni. |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
When I first introduce this transport I used to test it with basic text, now with some French accent I need this fix otherwise the accent chars are not sent