Sending byte stream to api

Can anyone offer guidance on how to achieve uploading a large file to the microsoft onedrive api using a byte stream. This is the api documentation.. Thank you in advance

Bump.