How to use https to send request and response?

Hello sir,

I am sending request useing http . But i want to send requst to https instead of http.

How can i use https?

Please help me…

add a ssl certificate to your server and send a request like to http…

$http.get('https://XXXXX')