Check out example codes for "400 (Authentication information is not given in the correct format. Check the value of Authorization header.)". It will help you in understanding the concepts better.

Code Example 1

For people reaching this page and wondering why you get this error
even though you are using a Shared Access Signature URL, 
then you most likely are sending YOUR APP token to Azure.
Make sure to NOT include the Authorization header in this case.

Learn ReactJs, React Native from akashmittal.com