Skip to content
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

[Backport 2.1] 8373: Fix CURL Json POST #14151

Conversation

simpleadm
Copy link
Contributor

This is a backport of 8373 (MAGETWO-64313) for Magento 2.1 that fixed issue #3489

Description

Using \Magento\Framework\HTTP\Client\Curl doesn't support json posts, because it used only

$this->curlOption(CURLOPT_POSTFIELDS, http_build_query($params));

Manual testing scenarios

As explained in #8373

That functionality doesn't break backward compatibility will be very useful for most projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants