Link Search Menu Expand Document

HTTP Request

POST https://gateway.workfloplus.com/collections/v1/upload/{upload_id}

Authorization

Bearer Token

Policy Workflow_Create

Headers

Key Value
Authorization Bearer {token}
Content-Type text/csv
Content-Length {blockSize}
Content-Range bytes {i x blockSize}-{(i+1) x blockSize}-1/{fileSize}

Path Parameters

Parameter Type
upload_id string

Request Body

{block_bytes}

Response Body

If the block was the final block and all blocks been uploaded a 204 is returned

If the block was not the final block but has been uploaded a 202 is returned

Notes

I have a file of size 150 KB which I will uploaded in blocks of 100 KB, I multiply both of these by 1024 to calculate the file size and block size

BLOCKSIZE = 102400
FILESIZE = 153600

Copyright © 2021 Intoware Limited.