There is a mistake in arguments between Endpoint/Containers/Files/write() (line55) and Endpoint/AbstructEndpoint/post() (line 49).
In the first method (write) when you make a call to post (line 55) you give 3 arguments :
->post(the container name?with_get_params, follow by data, and headers)
but you must add an parameter between data and headers because in the post method the 3rd parameters is used to buildPath and actually you buildPath with requestHeaders array.
Hi,
There is a mistake in arguments between Endpoint/Containers/Files/write() (line55) and Endpoint/AbstructEndpoint/post() (line 49).
In the first method (write) when you make a call to
post
(line 55) you give 3 arguments :->post(the container name?with_get_params, follow by data, and headers)
but you must add an parameter between data and headers because in the post method the 3rd parameters is used to
buildPath
and actually youbuildPath
withrequestHeaders
array.I corrected it like that at
but i think you can find a more elegant way.
Best regards
PS: sorry for my poor english