We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b90ea11 commit 6859293Copy full SHA for 6859293
1 file changed
Examples/CustomEncodingJSONExample.js
@@ -3,8 +3,15 @@
3
const QencodeApiClient = require('qencode-api');
4
5
const apiKey = "your_api_key_here";
6
-
7
- const payload = null;
+
+ // You can send any string as a payload, but JSON is most common case
8
+ const payloadObject = {
9
+ videoId: '3874239842932332',
10
+ previewFilename: 'My file name'
11
+ };
12
13
+ // in case your payload is JSON you need to stringify it first
14
+ const payload = JSON.stringify(payloadObject);
15
16
let transcodingParams = {
17
"source": [
0 commit comments