Start a new topic

Cannot upload file from StoreFront to Platform

Hi,

I use _platformApi.AssetsUploadAssetAsync to upload asset to Platform. When I add a file to fileParams then the function Configuration.ApiClient.CallApiAsync cannot call to the method UploadAsset in AssetsController web api.

Please tell me how to setup params for RestSharp object before calling to Platform api.


Thank you do much,

Tien Vu - Niteco


hi,

Did you have a look at my question?

Please reply if you have any idea.

Thanks a lot. I'm looking forwards to see it.

Hi,

Please show the code sample, which adds a file to the fileParams and calls AssetsUploadAssetAsync.

Login or Signup to post a comment