Contact us


All times are UTC - 8 hours



   [ 3 posts ] 
Author Message
   


Joined: Thu Sep 10, 2015 8:21 am
Posts: 4
Hello,

I checkered documentation about uploading scans but I can't find a way to add extra parameters that I need to determine to what ticket/object I should the scan should be attached to.

I want to be able to send this in a POST together with the scan.

Thank you.


   


Joined: Thu Sep 10, 2015 8:21 am
Posts: 4
since I don't seem to have a way to delete a post I answering my own post, in case somebody is looking for the same

Code:
    // Set extra info as HTTP form fields to be sent to the server together with the images
    DWObject.ClearAllHTTPFormField();
    DWObject.SetHTTPFormField('extraInfo', document.getElementById("infoToSend").value);
    // Upload the image(s) to the server asynchronously
    DWObject.HTTPUploadAllThroughPostAsPDF(strHTTPServer, strActionPage, uploadfilename + ".pdf", OnHttpUploadSuccess, OnHttpUploadFailure);


User avatar
   


Joined: Tue Mar 08, 2005 12:23 am
Posts: 1706
Hi Geniepro,

Thanks for your sharing.

For more information, please check SetHTTPFormField()

Regards,

_________________
Vincy
Dynamsoft Support Team
Follow us@Twitter, Facebook


Display posts from previous:  Sort by  
   [ 3 posts ] 


Who is online

Users browsing this forum: WillieCam and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Copyright © 2018 Dynamsoft | All Rights Reserved
dynamic designed by Dynamsoft team
Fatal: Not able to open ./cache/data_global.php