There are some files in my server and i need to provide them through API as a byte array. I\'m looking for how to convert local file to byte array and send in json as a API