Quantcast
Channel: Kaltura - Latest posts
Viewing all articles
Browse latest Browse all 7410

C# API SDK sends all the params via the single multipart-form item named "json"

$
0
0

I have unzipped the SDK again to make sure that there are no changes.

First change I have made - I have moved the line 60 to the line 57 to call it immediately after run but with no args:

Then I had to comment out the line 144 because of the following Exception:The access to service [uploadToken->add] is forbidden

Now you can run the project and see the Exception: Missing parameter "uploadTokenId".
This is because of the merging params in a single multipart-form item. You can debug it here:

Other words the request contains two params: fileData and json. The last one contains all the params serialized to json format. But the response says that it wants to see the separate uploadTokenId parameter.


Viewing all articles
Browse latest Browse all 7410

Trending Articles