Start a new topic

Cannot upload file from StoreFront to Platform


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


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.


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

Login or Signup to post a comment