get insights of some issues with HttpUrlConnection with an api test. Need to set the user-agent on HttpUrlConnection
set user-agent