Connecting to device authorization API and displaying response headers