post https://api.goformz.com/v2/files
In order to upload a file, make a request to the files
endpoint using the HTTP
POST
Method. The content type in the request headers should be set to multipart/form-data
.
Content-Type: multipart/form-data;
If the request was successful, the server should respond with the HTTP Status Code: 202 (Accepted).
At this point the file is queued for processing. The response headers will contain a location header that contains a link to an entry in the queue that can be polled for the status of the uploaded file.
Once the file has been successfully processed, the queue entry will provide a link to the actual file resource.
Location: "https://api.goformz.com/v2/queue/94a89341-4687-4546-a1bb-f66415337643"