is it possible to use a stream instead of a string as body?

Using a string will create memory issues when uploading large files