Used authorization_basic method to generate basic authorization header