How to make authenticated ulPload files post request to firebase storage

Does anybody know how to structure a header for an authenticated request using the upload files function? I cannot find the info on firebase storage rest api docs anywhere? what do I place in the header?

Discussion is continuing in this topic: Upload Files to Firebase Storage - Tutorial