-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
CURL Json POST #3489
Comments
@Grohotun thank you for reporting. |
We are closing this issue because it hasn’t been updated in more than two weeks. If you can still reproduce this issue, please create a new GitHub issue report. |
- Merge Pull Request #8373 from mygento/magento2:develop
- added type string to parameter $param in order to support sending JSON or XML requests
Hi @Grohotun. Thank you for your report. The fix will be available with the upcoming 2.1.14 release. |
@magento-engcom-team will be this issue also updated on 2.1+ versions? |
Hi @Grohotun. Thank you for your report. The fix will be available with the upcoming 2.3.0 release. |
Hi @Grohotun. Thank you for your report. The fix will be available with the upcoming 2.3.0 release. |
Using \Magento\Framework\HTTP\Client\Curl doesn't support json posts, because it used only
$this->curlOption(CURLOPT_POSTFIELDS, http_build_query($params));
But need:
CURLOPT_POSTFIELDS, json_encode($params))
The text was updated successfully, but these errors were encountered: