aecvargas opened a new issue #251: File Transfer HTTP Method
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/251
 
 
   Is there any way to specify the HTTP method of the file transfer plugin?
   
   I have this for my file upload:
   
   ```
           const options: FileUploadOptions = {
               fileKey: 'file',
               fileName: imageData.substr(imageData.lastIndexOf('/') + 1),
               headers: {},
               httpMethod: 'POST',
               chunkedMode: false,
               params: { action : 'INSERT', lineid : this.lineId }
           };
   ```
   
   But it is being received as a GET request on my server side (PHP).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to