How to Upload a file to serve (.pdf, .docx, .xlsx etc)

How to Upload a file to serve (.pdf, .docx, .xlsx etc)

User can chose any file form its storage and able to upload to serve

How can do this…

This is pretty dependent on what you’re uploading it to.

You can try with cordova file transfer plugin(https://ionicframework.com/docs/native/transfer/). I have been uploading jpg files to server using it.

my api expect file parameter how can i path file parameter ?