I am trying to access a resource that requires a bearer token for authorization. The following code was generated by Postman, which fetches the resource properly.