# Problems using Basic authorization with Streams

**URL:** <http://forum.companieshouse.gov.uk/t/problems-using-basic-authorization-with-streams/5384>\
**Category:** Uncategorized\
**Created:** [August 23, 2022, 7:52am UTC](http://forum.companieshouse.gov.uk/t/problems-using-basic-authorization-with-streams/5384 "2022-08-23T07:52:04Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jonmarkperry](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/jonmarkperry/32/1329_2.png) [@jonmarkperry](http://forum.companieshouse.gov.uk/u/jonmarkperry)\
**Post date:** [August 25, 2022, 2:27pm UTC](http://forum.companieshouse.gov.uk/t/problems-using-basic-authorization-with-streams/5384/7 "2022-08-25T14:27:01Z")

</div>

I got a partial solution, by abandoning stream and using RESTapi instead.

I logged on with Excel and curl ([Documents not downloading, invalid ID - #7 by csmith](https://forum.aws.chdev.org/t/documents-not-downloading-invalid-id/544/7)).

I also got JS/XHR to work - load the client-side file to your server and enter the domain into the ‘create key’ rest section under JavaScript domains.

Thanks for everyones help!

---

_[View the full topic](http://forum.companieshouse.gov.uk/t/problems-using-basic-authorization-with-streams/5384)._
