We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hi !
I am tryin to use the $apiClient->product()->create() with an array of data, including images. It appears that here https://github.com/FriendsOfApi/sylius-api-client/blob/master/src/RequestBuilder.php#L60 you check if the $body is an array.
It's always an array, because of here https://github.com/FriendsOfApi/sylius-api-client/blob/master/src/Api/HttpApi.php#L76 you create a json from params.
So we can't send files I guess ? We should be able to chose not to convert params in json, what do you think ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi !
I am tryin to use the $apiClient->product()->create() with an array of data, including images.
It appears that here https://github.com/FriendsOfApi/sylius-api-client/blob/master/src/RequestBuilder.php#L60 you check if the $body is an array.
It's always an array, because of here https://github.com/FriendsOfApi/sylius-api-client/blob/master/src/Api/HttpApi.php#L76 you create a json from params.
So we can't send files I guess ?
We should be able to chose not to convert params in json, what do you think ?
The text was updated successfully, but these errors were encountered: