Method for passing files to be uploaded is deprecated
sjelfull opened this issue · comments
I was testing the SDK on PHP 5.6, and was experiencing that the files wasn't being uploaded, even though fields like file_1, file_2 was passed on with full path names.
Turns out the @path way is deprecated. You have to use the new CURLFile class to pass in files.
Ah, it does seem like this is already fixed here: /pull/12
I was on an old version pulled in through composer a while ago.
Hurrah for spending time on bugs that are already fixed by someone else! 😄
Ah dang!
Ok thanks tho!