I have developed an android application that is successfully sending data from my mobile application to my REST service
and then to a database using httpurlconnection
. However, I have been asked that I use httpsurlconnection
as the REST service will be hosted in a secure location.
My requests include the url
then opening a connection object. I have authorization headers and then I send through the data as a JSON object
.
Can I simply add the 's' to the httpurlconnection
or what other aspects do I need to think about?
Would appreciate the help, Thanks!