FileNotFoundException while getting the InputStream object from HttpURLConnection

前端 未结 7 2160
清酒与你
清酒与你 2020-11-29 02:47

I am trying to send a post request to a url using HttpURLConnection (for using cUrl in java). The content of the request is xml and at the end point, the application proces

7条回答
  •  囚心锁ツ
    2020-11-29 03:03

    FileNotFound in this case means you got a 404 from your server - could it be that the server does not like "POST" requests?

提交回复
热议问题