Upload file upload using COS Files API


#1

How to upload a pdf file using COS Files API ?
COS Files API supports objective-c or JSON programming for iOS uploads ?


#2

@Harendra2008gwl the documentation for uploading a file is here:

We don’t currently have an example for Objective-C, but the endpoint uses the multipart/form-data content-type and not JSON to upload the file.


#3

@dadams Thanks,
Could you please send us php code for uploading file ?


#4

You get code of file upload