It will be great to have the support for other data types than string for parameters in Web Connection.
As a short explanation, we tried to upload some files to OneDrive through API using Web Connection, the thing was that whatever we tried the file was corrupted, the problem seems to be that we were passing a variable varbinary and the only accepted format is String for Web Connection Parameters.
You can check the starting point of this idea on this page:
Thanks!