Upload File
Upload File by filename
- Authentication required.
- Params:
filename
.
Notice: This service accept only multipart/form-data
CURL Example:
curl -X POST https://oim.pasifiktelekom.com.tr/en/api/fax/upload/ \
-H 'accept:application/json' -H 'Authorization:XXXXXXXXXXXXXXXXXXXX' \
-F "filename=@/full/path/to/img.jpg;type=image/jpg"
curl -X POST https://oim.pasifiktelekom.com.tr/en/api/fax/upload/ \
-H 'accept:application/json' -H 'Authorization:XXXXXXXXXXXXXXXXXXXX' \
-F "filename=@/full/path/to/mydocument.doc;type=application/msword"
GET /en/api/fax/upload/?format=api
{
"message": "OK",
"code": "200"
}