debugging authcode post request