File upload request
To upload a file to the server, you need to send POST data containing login, password, file variables. The response will be the id of the saved file, which you can later use in xml-requests.
File upload request
POST
http://lk.mysmpp.ru/xml/file.php
Request Body
Name | Type | Description |
---|---|---|
login* | String | Your login in the system |
file* | data | File to be sent |
token* | String | You can use a secret key instead of login and password. To obtain it, please contact your manager |
password* | String | Your password in the system |
The id
of the added file in the system will be returned
File upload example
Last updated