Help for this page
https://dev.preview.com/oauth2/default/v1/authorize?client_id=xxxxxxxx +xxxxxxxxxxxxx&response_type=code&scope=openid&redirect_uri=http%3A%2F +%2Ftestchandan.com%3A5001&state=1234&nonce=UBGW
use strict; #use warning; ... unless($response1->is_success()) { die($response1->code, "\n", $response1->content, "\n"); }