I\'m trying to use HttpURLClient to send some POST data to a server using the HttpRestClient class shown below. When executing
HttpRestClient
conn.setDoInput(true)
This might be due to watches while debugging in your IDE. See this answer. It happened to me and was hard to discover.