All URIs are relative to https://rest.clicksend.com/v3
| Method | HTTP request | Description |
|---|---|---|
| uploads_post | POST /uploads | Upload File |
str uploads_post(upload_file, convert)
Upload File
Upload File
from __future__ import print_function
import time
import clicksend_client
from clicksend_client.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: BasicAuth
configuration = clicksend_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# create an instance of the API class
api_instance = clicksend_client.UploadApi(clicksend_client.ApiClient(configuration))
upload_file = clicksend_client.UploadFile() # UploadFile | Your file to be uploaded
convert = 'convert_example' # str |
try:
# Upload File
api_response = api_instance.uploads_post(upload_file, convert)
pprint(api_response)
except ApiException as e:
print("Exception when calling UploadApi->uploads_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| upload_file | UploadFile | Your file to be uploaded | |
| convert | str |
str
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]