Bloomberg Interview Question

i was give a program with errors which was connecting an endpoint in java with httpclient. i needed to check what is the problem?

Interview Answer

Anonymous

Feb 24, 2017

I needed to use proxy. I thought as this is internal domain why would i need proxy at all. I was gravely mistaken.once i fixed the error next error came which required me to change the ouput Exception whihch is thrown to see the stacktrace. asked me what if I have to check the url has connectivity what will i do? - put it in a browser....