Upload document WEB API

Certified Associate Developer

Is it possible to upload diffrent type of documents in upload document web api. i need to upload pdf ,jpg and png in a single API can anyone help me pls

and can i pass a binary document into an upload document web API?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to ranjith.shanmugam

    hii ranjith,

    thank you for your response .the problem is i can upload all types of documents but its not taking the correct extension 

    letme tell you an example if im uploading a jpg file means it only uploads the file but not the extension.

    second senario: if i set my default extension as jpg means it converts all the files(pdf,docx,png) which im uploading into jpg format

    is there any default setting which accepts all format?

Children