You may need to read the response for the request to be sent. I'm fairly sure it's a 'lazy' process. Read the API docs for HttpUrlConnection - I think reading a response header or the response body...