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/
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "message": "OK",
    "code": "200"
}