You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: faq/failed-to-load-resource.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,7 @@ In this case, if you are trying to access an application that integrates a versi
33
33
Note: the new certificate from Dynamsoft will expire on December 8th, 2023. This means you will need to update the certificate again after this certificate expires.
34
34
- Method 3. <ahref="{{site.about}}getsupport.html"target="_blank">Contact Dynamsoft</a> for a new MSI for client-side.
35
35
36
-
- For v17.2 or higher versions, use the new API <ahref="{{site.info}}api/Dynamsoft_WebTwainEnv.html#updatecert"target="_blank">UpdateCert</a> to automatically update the client side certificate before it expires.
37
-
38
-
- If you want to automatically update the certificate, please add following code:
39
-
36
+
- For v17.2 or higher versions, use the new API <ahref="{{site.info}}api/Dynamsoft_WebTwainEnv.html#updatecert"target="_blank">UpdateCert</a> to automatically update the client side certificate before it expires. The following is an sample code:
40
37
```javascript
41
38
// Add the code in dynamsoft.webtwain.config.js file
Specifies the target of the HTTP Post Request of the upload job. This typically is a file on the server. For example: `job.ServerUrl = 'http://www.dynamsoft.com/ScanAndUpload/Actions/SaveToFile.aspx';`
346
+
345
347
**Syntax**
346
348
347
349
```typescript
348
-
/**
349
-
* Specifies the target of the HTTP Post Request of the upload job. This typically is a file on the server. For example: job.ServerUrl = 'http://www.dynamsoft.com/ScanAndUpload/Actions/SaveToFile.aspx';
350
-
*/
351
350
ServerUrl: string;
352
351
```
353
352
@@ -363,12 +362,11 @@ ServerUrl: string;
363
362
364
363
## HttpHeader
365
364
365
+
Specifies headers in the the HTTP Post Request of the upload job. For example: `job.HttpHeader["Content-Type"] = "text/plain";`
366
+
366
367
**Syntax**
367
368
368
369
```typescript
369
-
/**
370
-
* Specifies headers in the the HTTP Post Request of the upload job. For example: job.HttpHeader["Content-Type"] = "text/plain";
371
-
*/
372
370
HttpHeader: object;
373
371
```
374
372
@@ -388,12 +386,11 @@ By default, HttpHeader is an empty object. If left as it is, default headers are
388
386
389
387
## SourceValue
390
388
389
+
Specifies the files to be uploaded and the name for it. The files are specified by URLs which can be created with the method GenerateURLForUploadData. This object has a method Add to add file to the job.
390
+
391
391
**Syntax**
392
392
393
393
```typescript
394
-
/**
395
-
* Specifies the files to be uploaded and the name for it. The files are specified by URLs which can be created with the method GenerateURLForUploadData. This object has a method Add to add file to the job.
0 commit comments