post http://localhost:3001/rest/json/file
This API allows one to upload or download a file in small chunks. You can use this API to read a file in chunks by providing appropriate offsets from the start of the file. For writes, any data sent is always appended to the file. For writes, if file does not exist, one is created. So to start from a fresh file, you can first delete the file.