APIs & Integrations

Harendra2008gwl
Member

Upload file upload using COS Files API

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

0 Upvotes
3 Replies 3
Harendra2008gwl
Member

Upload file upload using COS Files API

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

0 Upvotes
Mayur_Kevadiya
Member

Upload file upload using COS Files API

You get code of file upload

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Upload file upload using COS Files API

@Harendra2008gwl the documentation for uploading a file is here:

Upload a new file | COS Files API

POST /filemanager/api/v2/files

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.

0 Upvotes