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