use HttpURLConnection.setRequestProperty and set all the appropriate headers to HTTP authorization.
Please help me with following - 1. Write a java program to get json data from URL http://echo.jsontest.com/Operand1/10/Operand2/5/Operator/+ 2. Perform mathematical operation in java after reading JSON from above URL and print result.for ex.result=10+5=15 3. Result should be dynamic and should change if change values in above URL.