Hi,
This
format exception is not because of your URL change from
http:// to
https://. This is because you have to make url connection without declare method. you have to specify using which method
Get or Post you want to make connection with that URL. I give you brief idea about how you make connection. currently I am also use same connection. i don't have change code for
http:// to
https:// change url.
it looks like this. this will make connection.