How to get the error from a third-party API with HttpURLConnection in Java?

前端 未结 0 427
-上瘾入骨i
-上瘾入骨i 2021-02-13 22:41

I\'m currently connecting to a third party API using a HttpURLConnection and this does work, but I\'m wondering on how to return the error from the API instead of the IOExceptio

相关标签:
回答
  • 消灭零回复
提交回复
热议问题