##### Brief description This interface is used by the client APP to upload processed price tag images and video files to the electronic price tag. When multiple files need to be uploaded, this interface needs to be called multiple times, but it must be uploaded synchronously and asynchronous uploading cannot be used. ##### Request URL Interface address (case must be consistent) - `http://192.168.1.x/upload` ##### Request method - POST ##### Request message example ```http POST /upload?file_path=files/task/xxx.jpg&sign=6B1C08604C09C08AF80DD251E019**** Accept: */* Host: 192.168.1.x Accept-Encoding: gzip, deflate, br Connection: keep-alive Request Body binary src: "/Users/happy/Downloads/IMG_3101.JPG" ``` ##### Parameters | Parameter Name | Required | Type | Example | Description | | --- | --- | --- | --- | --- | | `file_path` | Yes | string | `files/task/xxx.jpg` | Upload the file path to the electronic price tag storage | | `sign` | Yes | string | `1E3B1050FBE6F1B53B4F858CD8E39***` | The signature value calculated through the signature algorithm | ##### Return message example ```http HTTP/1.1 200 OK Content-Length: 28 Content-Type: application/json; charset=utf-8 ``` ##### Example of returning content ```json {"STATE": "SUCCEED", "message": "File received"} {"STATE": "ERROR", "message": "Not enough space"} ``` ##### Return content field description | Parameter Name | Type | Example | Description | | --- | --- | --- | --- | | `STATE` | string | `SUCCEED` / `ERROR` | Business status | | `message` | string | `File received` / `Not enough space` | Status description |