Research Article

High-Capacity Data Collection Platform for Smart Cities Using IEEE 802.11ad-Based Millimeter-Wave V2X Communication

Table 6

An example of a POST request for hundreds of pictures.

Endpoint: /edgeapi/v1/storage/file/_multipart

Request headers:
Content-Type: multipart/form-data;
Content-Length: Length

Request body:
--boundary
Content-Disposition: form-data;
Content-Type: application/json;

<list of metadata in JSON format>
--boundary
Content-Disposition: form-data; ;
Content-Type: image/jpeg

<binary content of file: 000001.jpg>
--boundary
...
--boundary
Content-Disposition: form-data; ;
Content-Type: image/jpeg

<binary content of file: 000100.jpg>
--boundary